-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot unmarshal float environment values. #410
Comments
@cdrage , I was working on this issue, I found that, this error occurs due to libcompose, so I raised an issue docker/libcompose#435 |
Is this working with docker-compose ? |
@surajssd , yeah, it works with docker-compose but not with libcompose |
@surajnarwade As a work-around, should we update in our code to convert it to a string before being passed in? |
@cdrage , sounds good actually, I would like to work on it then |
@cdrage , I tried to work on this, this error occurs due to libcompose, hence as a work around, we can tell user that if you want to put float value, put it in quotes. |
@surajnarwade That wouldn't be a great work-around, our code should automatically detect that the environment variables are not in quotes and put them in converts / convert to string before passing to libcompose. I did however take a quick look through the libcompose code and it doesn't seem too daunting to fix it upstream. |
@cdrage, I tested kompose with your PR on libcompose, docker/libcompose#437 |
Closing. Fixed in #425 |
When passing in a float value through
env:
seems to fail:Ex:
The text was updated successfully, but these errors were encountered: