Skip to content

Commit

Permalink
[Nokia ixs7215] Platform API 2.0 improvements (#7931)
Browse files Browse the repository at this point in the history
#### Why I did it
Failures observed when running the open community platform test suite (sonic-mgmt)

#### How I did it
Call PSUBase class initializer from derived class
  • Loading branch information
dflynn-Nokia committed Jun 22, 2021
1 parent ff20e9b commit 5bf083a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class Psu(PsuBase):
"""Nokia platform-specific PSU class for 7215 """

def __init__(self, psu_index):
PsuBase.__init__(self)
# PSU is 1-based in Nokia platforms
self.index = psu_index + 1
self._fan_list = []
Expand Down

0 comments on commit 5bf083a

Please sign in to comment.