You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one executes the "docker-compose config"-command directly, one does get a correct error message.
So it would be nice, if the "compose_output" is checked for error messages and output them accordingly. This might help people in the future.
Thanks in advance and kind regrads,
Tobias
Environment
docker-compose version 1.29.2, build 5becea4c
Platform [Ubuntu 24.04]
The text was updated successfully, but these errors were encountered:
Describe the Bug
I was working on my docker-compose.yaml and had a dependence issue. But the error-message I received was very cryptic:
"Could not evaluate: undefined method `[]' for false:FalseClass"
I could identify the problem by checking the traces and eventually find the command which produced the problem.
Expected Behavior
The docker-compose file is check via "docker-compose config" in
"puppetlabs-docker/lib/puppet/provider/docker_compose/ruby.rb" --> line 30:
compose_output = Puppet::Util::Yaml.safe_load(execute([command(:docker)] + args, combine: false), [Symbol])
If one executes the "docker-compose config"-command directly, one does get a correct error message.
So it would be nice, if the "compose_output" is checked for error messages and output them accordingly. This might help people in the future.
Thanks in advance and kind regrads,
Tobias
Environment
The text was updated successfully, but these errors were encountered: