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:
co-authored by
Matheus Macabu
parent
13703de67e
commit
eee3a75b8b
@@ -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