Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly exit migration trigger if there are no backups to migrate from
Browse files Browse the repository at this point in the history
sonicaj committed Aug 7, 2024
1 parent 0f26d45 commit 8d88b67
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -44,6 +44,7 @@ async def trigger_migration(self):
if not backups:
self.logger.debug('No backups found with releases which can be migrated for %r pool', k8s_pool)
await self.unset_kubernetes_pool()
return

latest_backup = backups[-1]
migrate_job = await self.middleware.call(

0 comments on commit 8d88b67

Please sign in to comment.