Skip to content

Commit

Permalink
Don't need to check config status when datapath status is DataPathAct…
Browse files Browse the repository at this point in the history
…ivated
  • Loading branch information
chiourung committed Oct 22, 2024
1 parent 5c6eccb commit df97cb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sonic-xcvrd/xcvrd/xcvrd.py
Original file line number Diff line number Diff line change
Expand Up @@ -1024,10 +1024,10 @@ def is_cmis_application_update_required(self, api, app_new, host_lanes_mask):
if dp_state[name] != 'DataPathActivated':
skip = False
break
name = "ConfigStatusLane{}".format(lane + 1)
if conf_state[name] != 'ConfigSuccess':
skip = False
break
#name = "ConfigStatusLane{}".format(lane + 1)
#if conf_state[name] != 'ConfigSuccess':
# skip = False
# break
return (not skip)
return True

Expand Down

0 comments on commit df97cb3

Please sign in to comment.