Skip to content

Commit

Permalink
sonic-net/sonic-buildimage#16466 fixing based on review comments:
Browse files Browse the repository at this point in the history
To add the rdbtools into base docker.
Move saidump.sh from host to syncd docker container.
  • Loading branch information
JunhongMao committed Sep 30, 2023
1 parent 8a3f93b commit cd08c2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generate_dump
Original file line number Diff line number Diff line change
Expand Up @@ -953,9 +953,9 @@ save_saidump_by_route_size() {
echo "Dump by using Redis SAVE."

if [[ ( "$NUM_ASICS" == 1 ) ]] ; then
save_cmd "saidump.sh" "saidump"
save_cmd "docker exec syncd saidump.sh" "saidump"
else
save_cmd "saidump.sh $i" "saidump$i"
save_cmd "docker exec syncd$i saidump.sh" "saidump$i"
fi
else
echo "Dump by using direct iteration of Redis DB."
Expand Down

0 comments on commit cd08c2e

Please sign in to comment.