Skip to content

Commit

Permalink
run hello world containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Deltachaos committed Sep 1, 2024
1 parent 26b29d6 commit d457e5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_pvc(self, namespace, pvc_name):

def targets(self):
result = []
for target in self.backup_config["targets"]:
for target in self.backup_config["spec"]["targets"]:
if 'url' in target:
result.append(target)
elif target["type"] == 'pvc':
Expand Down Expand Up @@ -138,7 +138,7 @@ def get_backup_config(self):

def get_cluster_storage(self):
backup_config = self.get_backup_config()
name = backup_config["clusterBackupStore"]["name"]
name = backup_config["spec"]["clusterBackupStore"]["name"]
return self.get_cluster_storage(name)

def target_resolver(self):
Expand Down

0 comments on commit d457e5e

Please sign in to comment.