Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions examples/discover-loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ def disc_supp_str(dlp_supp_opts):
lsp = nvme.NVMF_LOG_DISC_LSP_PLEO if dlp_supp_opts & nvme.NVMF_LOG_DISC_LID_PLEOS else 0
disc_log = ctrl.discover(lsp=lsp)
except Exception as e:
sys.exit(f'Failed to discover: {e}')
print(f'Failed to discover: {e}')
disc_log = []
pass

for dlpe in disc_log:
print(f'log entry {dlpe["portid"]}: {dlpe["subtype"]} {dlpe["subnqn"]}')
Expand Down