Skip to content

Commit

Permalink
etcd: Replace deprecated --debug option
Browse files Browse the repository at this point in the history
... to resolve the following warning.

[WARNING] Deprecated '--debug' flag is set to true (use
'--log-level=debug' instead

Change-Id: Idb412cea64dfc42e3d1223b77f134804eeb7bd60
  • Loading branch information
kajinamit committed Aug 20, 2024
1 parent 8784a30 commit 9e1348f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/etcd3
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function start_etcd3 {
fi
cmd+=" --listen-client-urls http://$SERVICE_HOST:$ETCD_PORT"
if [ "$ENABLE_DEBUG_LOG_LEVEL" == "True" ]; then
cmd+=" --debug"
cmd+=" --log-level=debug"
fi

local unitfile="$SYSTEMD_DIR/$ETCD_SYSTEMD_SERVICE"
Expand Down

0 comments on commit 9e1348f

Please sign in to comment.