There was an error while loading. Please reload this page.
1 parent 54e453a commit f2dbdd7Copy full SHA for f2dbdd7
1 file changed
chassis/sonic_platform/psu.py
@@ -58,7 +58,7 @@ def _get_psu_bulk_info(self):
58
59
channel, stub = nokia_common.channel_setup(nokia_common.NOKIA_GRPC_PSU_SERVICE)
60
if not channel or not stub:
61
- return status
+ return False
62
ret, response = nokia_common.try_grpc(stub.GetPsuStatusInfo,
63
platform_ndk_pb2.ReqPsuInfoPb(psu_idx=self.index))
64
nokia_common.channel_shutdown(channel)
0 commit comments