Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/sonic-ctrmgrd/ctrmgr/ctrmgrd.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,10 @@ def handle_update(self, feat, set_owner, ct_owner, remote_state):
service_restart = False

if set_owner == "local":
if ct_owner != "local":
# none is a default value for current_owner when docker stop.
# It is not necessary to restart the feature again when the system
# config a new value for it. The container script will handle it.
if (ct_owner != "local") and (ct_owner != "none"):
service_restart = True
else:
if (ct_owner != "none") and (remote_state == "pending"):
Expand Down