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
warnings generated by docker-compose.yaml issues will cause failures to parse docker output.
For example, consider this snippet from the crate:
let containers = run_command("docker",&["compose","-f", file_path,"ps","--status", status],).unwrap();// One line for the table heading. If there are more lines then there is some data indicating that containers exist with this statusif containers.matches('\n').count() > 1{panic!("At least one container failed to initialize\n{containers}\nFull log\n{full_log}");}
If a warning is emitted an extra line will be included causing the if statement to run when it should not run.
We need to fix this case to handle warnings AND check for other cases where we might be parsing output and need to ignore warnings.
An example method for reproducing the issue is adding the version: '3' field to the top of the yaml, this will trigger a deprecation warning.
The text was updated successfully, but these errors were encountered:
warnings generated by docker-compose.yaml issues will cause failures to parse docker output.
For example, consider this snippet from the crate:
If a warning is emitted an extra line will be included causing the if statement to run when it should not run.
We need to fix this case to handle warnings AND check for other cases where we might be parsing output and need to ignore warnings.
An example method for reproducing the issue is adding the
version: '3'
field to the top of the yaml, this will trigger a deprecation warning.The text was updated successfully, but these errors were encountered: