Skip to content

Commit

Permalink
fix(ps): belongs_to cannot be none must be empty string (#69)
Browse files Browse the repository at this point in the history
Signed-off-by: Tarik Zegmott <[email protected]>
  • Loading branch information
tjzegmott authored May 1, 2024
1 parent 655e121 commit b348dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dtcli/ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def create_policy_table(dataset: str, scope: str, policies: dict):
elif len(policies["belongs_to"]) == 1:
belongs_to = policies["belongs_to"][0]["name"]
else:
belongs_to = None
belongs_to = ""
policy_table.add_column("Policy", style="bold", footer="Belongs to")
policy_table.add_column("Storage Element", footer=belongs_to)
policy_table.add_column("Priority")
Expand Down

0 comments on commit b348dbd

Please sign in to comment.