Skip to content

Commit 6d79cb4

Browse files
yaqiangzyanjundeng
authored andcommitted
[dhcp_relay] Update separator for key in COUNTERS_DB for per-interface counter (sonic-net#22186)
Why I did it Per database_config.json.j2, separator in COUNTERS_DB should be ":" PR in dhcpmon has been merged: sonic-net/sonic-dhcpmon#38 How I did it Update separator to ":" How to verify it Manually test
1 parent a9b5769 commit 6d79cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockers/docker-dhcp-relay/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ then
1010
${CTR_SCRIPT} -f dhcp_relay -o ${RUNTIME_OWNER} -v ${IMAGE_VERSION}
1111
fi
1212

13-
keys=$(sonic-db-cli COUNTERS_DB keys "DHCPV4_COUNTER_TABLE|*")
13+
keys=$(sonic-db-cli COUNTERS_DB keys "DHCPV4_COUNTER_TABLE:*")
1414
for key in $keys; do
1515
sonic-db-cli COUNTERS_DB del "$key"
1616
done

0 commit comments

Comments
 (0)