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. openstack. org/653067 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=9fbbad559dc ffaf4d57c5c1c24 4db3b80e09106c
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 9fbbad559dcffaf 4d57c5c1c244db3 b80e09106c
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