Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Refactor backup_fetch.py to handle config values as strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Heavybullets8 committed May 27, 2024
1 parent f67c75c commit e2c6721
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion functions/backup_restore/charts/backup_fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,10 @@ def _serialize_charts_info(self) -> dict:
k: str(v) if isinstance(v, Path) else (
[str(i) for i in v] if v is not None else 'None'
) for k, v in info['files'].items()
},
'config': {
k: v if not isinstance(v, Path) else str(v)
for k, v in info.get('config', {}).items()
}
} for app, info in self.charts_info.items()
}
}

0 comments on commit e2c6721

Please sign in to comment.