etcd: Replace deprecated --debug option
... to resolve the following warning. [WARNING] Deprecated '--debug' flag is set to true (use '--log-level=debug' instead Change-Id: Idb412cea64dfc42e3d1223b77f134804eeb7bd60
This commit is contained in:
parent
8784a3027f
commit
9e1348f81b
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user