Skip to content

Commit cd08c2e

Browse files
committed
sonic-net/sonic-buildimage#16466 fixing based on review comments:
To add the rdbtools into base docker. Move saidump.sh from host to syncd docker container.
1 parent 8a3f93b commit cd08c2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/generate_dump

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,9 +953,9 @@ save_saidump_by_route_size() {
953953
echo "Dump by using Redis SAVE."
954954

955955
if [[ ( "$NUM_ASICS" == 1 ) ]] ; then
956-
save_cmd "saidump.sh" "saidump"
956+
save_cmd "docker exec syncd saidump.sh" "saidump"
957957
else
958-
save_cmd "saidump.sh $i" "saidump$i"
958+
save_cmd "docker exec syncd$i saidump.sh" "saidump$i"
959959
fi
960960
else
961961
echo "Dump by using direct iteration of Redis DB."

0 commit comments

Comments
 (0)