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>
(cherry picked from commit eee3a75b8b)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user