docker / libcompose

*Unmaintained/Deprecated* An experimental go library providing Compose-like functionality
https://godoc.org/github.com/docker/libcompose
Apache License 2.0
585 stars 191 forks source link

libcompose fails when float environment value is passed #435

Closed surajnarwade closed 7 years ago

surajnarwade commented 7 years ago

when we pass float value in environment variables as below:

environment:
    TEST: 0.2

I am getting following error:

ERRO[0000] Could not parse config for project compose : Cannot unmarshal '0.2' of type float64 into a string value 
FATA[0000] Failed to read project: Cannot unmarshal '0.2' of type float64 into a string value