Skip to content

Commit

Permalink
Don't use comma as a mapping separator in pool logs
Browse files Browse the repository at this point in the history
So this string is not confused as a single mapping.

It must be used as --mapping <map1> --mapping <map2> ... in a "om array add
disk" command.
  • Loading branch information
cvaroqui committed Jul 8, 2020
1 parent f50d43e commit 8252576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opensvc/core/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _get_mappings(self, nodes, transport="fc"):
if mapping["tgt_id"] not in tgts:
continue
data.append(":".join((mapping["hba_id"], mapping["tgt_id"])))
self.log.info("mappings for nodes %s: %s", ",".join(sorted(list(nodes))), ",".join(data))
self.log.info("mappings for nodes %s: %s", ",".join(sorted(list(nodes))), " ".join(data))
return data

def disable_sync_internal(self, volume):
Expand Down

0 comments on commit 8252576

Please sign in to comment.