CloudMigrations: Misc cleanup before codefreeze (#91725)

* fix retry logic

* slight adjustments

* fix disconnect and connect events

* Update pkg/services/cloudmigration/cloudmigrationimpl/snapshot_mgmt.go

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>

---------

Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com>
This commit is contained in:
Michael Mandrus
2024-08-09 17:38:08 +03:00
committed by GitHub
co-authored by Matheus Macabu
parent 13703de67e
commit eee3a75b8b
3 changed files with 18 additions and 5 deletions
@@ -164,10 +164,14 @@ func (ss *sqlStore) DeleteMigrationSessionByUID(ctx context.Context, uid string)
}
return nil
})
if err != nil {
return nil, nil, err
}
if err := ss.decryptToken(ctx, &c); err != nil {
return &c, snapshots, err
}
return &c, snapshots, nil
}