From 701f24d0c46aa4027f0e734eb39b4269e4e8f79e Mon Sep 17 00:00:00 2001 From: Johnathan Kupferer Date: Thu, 1 Aug 2024 12:14:38 -0400 Subject: [PATCH] Fix restore from resource list items --- util/replik8s-restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/replik8s-restore b/util/replik8s-restore index 6a3d23b..f98dc62 100755 --- a/util/replik8s-restore +++ b/util/replik8s-restore @@ -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)