From 9797c7551a2441d9cba1301af3a211e72b935ce5 Mon Sep 17 00:00:00 2001 From: srikartati Date: Mon, 14 Sep 2020 09:18:52 -0700 Subject: [PATCH] Enable verbose logging through generate-manifest.sh (#1142) This patch enables verbose logging for antrea-agent and antrea-controller when generate manifest. This will help in troubleshooting with increased log level. --- hack/generate-manifest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/generate-manifest.sh b/hack/generate-manifest.sh index 974c340ad7a..dec7f5040f2 100755 --- a/hack/generate-manifest.sh +++ b/hack/generate-manifest.sh @@ -142,7 +142,7 @@ if [ "$MODE" == "release" ] && [ -z "$IMG_TAG" ]; then exit 1 fi -if [ "$MODE" == "release" ] && $VERBOSE_LOG; then +if [ "$MODE" == "release" ] && [ ! -z "$VERBOSE_LOG" ]; then echoerr "--verbose-log works only with 'dev' mode" print_help exit 1