Skip to content

Commit

Permalink
Enable verbose logging through generate-manifest.sh (antrea-io#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 lzhecheng committed Nov 3, 2020
1 parent 3a0b9c5 commit 808a272
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 @@ -167,7 +167,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 808a272

Please sign in to comment.