Skip to content

Commit

Permalink
Fixing pycode style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarras committed Sep 21, 2023
1 parent 57cac7a commit 71a5d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/scripts/dss_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def mountpt_to_nqn_addr_map():
mountpts_to_nqn_addr_map = defaultdict(dict)
for i in range(0, len(subsystems), 2):
nqn = subsystems[i]["NQN"]
for path in subsystems[i+1]["Paths"]:
for path in subsystems[i + 1]["Paths"]:
mount_point = '/dev/' + path["Name"] + 'n1'
addr = re.search(r"traddr=(\S+)", path["Address"]).group(1)
mountpts_to_nqn_addr_map[mount_point]["nqn"] = nqn
Expand Down

0 comments on commit 71a5d07

Please sign in to comment.