Skip to content

Commit c2a7b9e

Browse files
Update onefuse/backups.py
1 parent af2802e commit c2a7b9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onefuse/backups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def backup_policies(self, backups_path: str, type: str = None):
239239
f"Type not found. Type '{type}' should be oe of {policy_types}"
240240
)
241241
raise OneFuseError(error_string)
242-
for policy_type in self.policy_types:
242+
for policy_type in policy_types:
243243
self.ofm.logger.info(f'Backing up policy_type: {policy_type}')
244244
response = self.ofm.get(f'/{policy_type}/')
245245
next_exists = self.create_json_files(response, policy_type,

0 commit comments

Comments
 (0)