Skip to content

Commit

Permalink
fix: handle non-collection properties
Browse files Browse the repository at this point in the history
Signed-off-by: iromli <[email protected]>
  • Loading branch information
iromli committed Apr 27, 2024
1 parent 28dcc08 commit 13ac2d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-jans-persistence-loader/scripts/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,9 @@ def update_scripts_entries(self):
else:
props = agama_entry.attrs["jansConfProperty"]

if not isinstance(props, list):
props = [props]

props = [json.loads(prop) for prop in props]

# filter out unwanted properties
Expand Down

0 comments on commit 13ac2d1

Please sign in to comment.