Skip to content

Commit

Permalink
Prevent fcport.status exception when CORE config not migrated (#15521)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeagherix authored Jan 29, 2025
1 parent 98ba0b5 commit 84fc52f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/middlewared/middlewared/plugins/fcport.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ async def local_status(self, node, port, with_lun_access):
result = {}
for p in ports:
naa = p[key]
if naa is None:
continue
sessions_path = qla_target_path / wwn_as_colon_hex(naa) / 'sessions'
sessions = []
try:
Expand Down

0 comments on commit 84fc52f

Please sign in to comment.