Skip to content

Commit

Permalink
[docker_image_ctl.j2]: Use swss$DEV to accommodate multi ASIC platfor…
Browse files Browse the repository at this point in the history
…ms as well

Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
  • Loading branch information
prabhataravind committed Jan 2, 2024
1 parent 6119571 commit b8585c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/build_templates/docker_image_ctl.j2
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function postStartAction()
chgrp -f redis $REDIS_SOCK && chmod -f 0760 $REDIS_SOCK
{%- elif docker_container_name == "swss" %}
# Wait until swss container state is Running
until [[ ($(docker inspect -f {{"'{{.State.Running}}'"}} swss) == "true") ]]; do
until [[ ($(docker inspect -f {{"'{{.State.Running}}'"}} swss$DEV) == "true") ]]; do
sleep 0.1
done
echo "swss container is up and running"
Expand Down

0 comments on commit b8585c5

Please sign in to comment.