Skip to content

Commit

Permalink
removed whitespace line
Browse files Browse the repository at this point in the history
  • Loading branch information
peters-david committed May 2, 2024
1 parent 046d860 commit 1091bf9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/harbor.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,11 @@ async def sync_retention_policies(retention_policies: [RetentionPolicy]):
retention_id = retention_policy_to_update.id
await client.update_retention_policy(
retention_id,
retention_policies_to_update
retention_policy_to_update
)
# Create retention policies
for retention_policy_to_create in retention_policies_to_create:
await client.update_retention_policy(retention_policies_to_update)

await client.create_retention_policy(retention_policy_to_create)


async def sync_harbor_config(harbor_config: Configurations):
Expand Down

0 comments on commit 1091bf9

Please sign in to comment.