parent
b2976a97dc
commit
73e0cb63bc
@ -63,7 +63,7 @@ if [ -z $CLIENT_AUTH ] || [ $CLIENT_AUTH == "false" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
LOG_LEVEL=$(echo $GNMI | jq -r '.log_level')
|
LOG_LEVEL=$(echo $GNMI | jq -r '.log_level')
|
||||||
if [ ! -z $LOG_LEVEL ]; then
|
if [[ $LOG_LEVEL =~ ^[0-9]+$ ]]; then
|
||||||
TELEMETRY_ARGS+=" -v=$LOG_LEVEL"
|
TELEMETRY_ARGS+=" -v=$LOG_LEVEL"
|
||||||
else
|
else
|
||||||
TELEMETRY_ARGS+=" -v=2"
|
TELEMETRY_ARGS+=" -v=2"
|
||||||
|
Loading…
Reference in New Issue
Block a user