Healthcheck commands need to be quoted to avoid Docker interpreting the
cmd as arguments of CLI.
This patch prevents that, and also test it in unit tests.
Change-Id: I8273684716df0dbe6f58608d1915e0c9c17493b3
Closes-Bug: #1824808
(cherry picked from commit affc28f515703044bda8de74fb8f3bdd33fc646c)
Reviewed: https:/ /review. opendev. org/654452 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=251ca7edc0d 2dd49b4280ad434 a685c902a5c57e
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 251ca7edc0d2dd4 9b4280ad434a685 c902a5c57e
Author: Emilien Macchi <email address hidden>
Date: Mon Apr 15 09:00:53 2019 -0400
docker/compose: quote health-cmd
Healthcheck commands need to be quoted to avoid Docker interpreting the
cmd as arguments of CLI.
This patch prevents that, and also test it in unit tests.
Change-Id: I8273684716df0d be6f58608d1915e 0c9c17493b3 4bda8de74fb8f3b dd33fc646c)
Closes-Bug: #1824808
(cherry picked from commit affc28f51570304