Skip to content

Commit

Permalink
Enable verbose logging through generate-manifest.sh (#1142)
Browse files Browse the repository at this point in the history
This patch enables verbose logging for antrea-agent and
antrea-controller when generate manifest. This will help in
troubleshooting with increased log level.
  • Loading branch information
srikartati authored and wenyingd committed Sep 17, 2020
1 parent 6160ff5 commit 9797c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/generate-manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9797c75

Please sign in to comment.