[v11.2.x] CloudMigrations: Misc cleanup before codefreeze (#92310)

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)

Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-08-22 11:21:26 -04:00
committed by GitHub
co-authored by Michael Mandrus
parent 700231ae69
commit a259af31b1
3 changed files with 18 additions and 5 deletions
@@ -391,7 +391,7 @@ func (s *Service) CreateSession(ctx context.Context, cmd cloudmigration.CloudMig
return nil, fmt.Errorf("error creating migration: %w", err)
}
s.report(ctx, cm, gmsclient.EventConnect, 0, nil)
s.report(ctx, &migration, gmsclient.EventConnect, 0, nil)
return &cloudmigration.CloudMigrationSessionResponse{
UID: cm.UID,