Skip to content

Commit

Permalink
[chassis.py] Fix issue in get_change_event: the returned dictionary d…
Browse files Browse the repository at this point in the history
…oesn't contain 'sfp' key. (#3568)
  • Loading branch information
stephenxs authored and lguohan committed Oct 8, 2019
1 parent aec2477 commit 350d2c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -523,4 +523,4 @@ def get_change_event(self, timeout=0):
i = i + 1
return True, {'sfp':port_dict}
else:
return True, {}
return True, {'sfp':{}}

0 comments on commit 350d2c5

Please sign in to comment.