Skip to content

Commit

Permalink
Fix Backup resource spec dict (#1881)
Browse files Browse the repository at this point in the history
* Fix Backup resource spec dict

* Fix Backup resource spec dict
  • Loading branch information
rnetser committed Jun 18, 2024
1 parent d2cfc52 commit 7e764ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocp_resources/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def to_dict(self) -> None:
super().to_dict()

if not self.yaml_file:
self.res["spec"] = {}
spec_dict = self.res["spec"]

if self.included_namespaces:
Expand Down

0 comments on commit 7e764ba

Please sign in to comment.