Bug 1015 LCM Dockerfile using new health check 80/8580/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 9 Jan 2020 17:25:29 +0000 (17:25 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 11 Feb 2020 15:28:52 +0000 (15:28 +0000)
Change-Id: Iaeac6bc59c60bd37284f062a25209c50960383c1
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
docker/LCM/Dockerfile

index 5ee783f..a18bcc9 100644 (file)
@@ -140,7 +140,7 @@ ENV OSMLCM_VCA_JUJUPATH    /usr/local/bin/juju
 # ENV OSMLCM_GLOBAL_LOGLEVEL DEBUG
 
 HEALTHCHECK --start-period=120s --interval=30s --timeout=30s --retries=1 \
-  CMD python3 -m osm_lcm.lcm --health-check || exit 1
+  CMD python3 -m osm_lcm.lcm_hc || exit 1
 
 
 # Run app.py when the container launches