Skip to content

Commit ca85835

Browse files
authored
Merge pull request ceph#63556 from guits/fix-node-proxy-hw-status
node-proxy: address `ceph orch hardware status` cmd Reviewed-by: Adam King <[email protected]> Reviewed-by: Teoman ONAY <[email protected]>
2 parents 688df4b + fbcdf57 commit ca85835

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pybind/mgr/cephadm/inventory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1709,9 +1709,9 @@ def is_error(statuses: ValuesView) -> bool:
17091709
else:
17101710
state = 'ok'
17111711
_result[host]['status'][component] = state
1712-
_result[host]['sn'] = data['sn']
1713-
_result[host]['host'] = data['host']
1714-
_result[host]['status']['firmwares'] = data['firmwares']
1712+
_result[host]['sn'] = data['sn']
1713+
_result[host]['host'] = data['host']
1714+
_result[host]['status']['firmwares'] = data['firmwares']
17151715
return _result
17161716

17171717
def common(self, endpoint: str, **kw: Any) -> Dict[str, Any]:

0 commit comments

Comments
 (0)