Skip to content

Commit

Permalink
[barefoot][sonic-platform] Fix sfp reset
Browse files Browse the repository at this point in the history
Signed-off-by: Volodymyr Boyko <[email protected]>
  • Loading branch information
vboykox committed Feb 11, 2021
1 parent de51ee3 commit 1843897
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ def qsfp_reset(client):
client.pltfm_mgr.pltfm_mgr_qsfp_reset(port_num, True)
return client.pltfm_mgr.pltfm_mgr_qsfp_reset(port_num, False)

status = thrift_try(qsfp_reset)
err = thrift_try(qsfp_reset)

return status
return not err

def check_transceiver_change(self):
if not self.ready:
Expand Down

0 comments on commit 1843897

Please sign in to comment.