From: Anil Belur Date: Wed, 2 Sep 2020 04:27:35 +0000 (+1000) Subject: Check if ${NOMAD_DC} is undefined or unset X-Git-Tag: v0.57.1^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;ds=sidebyside;h=50b6737cb8b73ea2311b2992e7dfd6611f60b07c;hp=50b6737cb8b73ea2311b2992e7dfd6611f60b07c;p=releng%2Fglobal-jjb.git Check if ${NOMAD_DC} is undefined or unset The condition in the commit 31a4b7fc00fe90494b6efb512ad0f1db02481ff3 should instead check when the environment variable $NOMAD_DC is not defined or unset, this avoids the script from exiting without capturing instance metadata. Issue: RELENG-3142 Change-Id: I80240d77abfacb59c81e41e63629468350e24b7b Signed-off-by: Anil Belur ---