Skip to content

Commit

Permalink
[Edgecore][device][platform] Fixed event.py call the wrong API(_refre…
Browse files Browse the repository at this point in the history
…sh_optoe_dev_class()) name from sfp.py(refresh_optoe_dev_class())

Signed-off-by: michael_shih <michael_shih@edge-core.com>
  • Loading branch information
ec-michael-shih committed Feb 13, 2023
1 parent 19d00af commit 85022ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_sfp_event(self, timeout=2000):
port_dict[i+1] = '0'
else:
# clear bitmap if refresh_optoe_dev_class() failed
if sfp._refresh_optoe_dev_class() is False:
if sfp.refresh_optoe_dev_class() is False:
bitmap = bitmap & ~(1 << i)
continue

Expand Down

0 comments on commit 85022ad

Please sign in to comment.