Skip to content

Commit

Permalink
Fix restore from resource list items
Browse files Browse the repository at this point in the history
  • Loading branch information
jkupferer committed Aug 1, 2024
1 parent 559f466 commit 701f24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/replik8s-restore
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class RestoreConfig():

if api_version == 'v1' and kind == 'List':
for item in resource.get('items', []):
self.load_backup_resource(resource, file_path)
self.load_backup_resource(resource, item)
else:
self.load_backup_resource(resource, file_path)

Expand Down

0 comments on commit 701f24d

Please sign in to comment.