CloudMigrations: Improvements to backend (#91012)

* E2C: Add stat rollup to MigrationSummary

* fix report event url

* open form in new page

* sort folders by heirarchy

* undo accidental commit

* remove another commit

* make folder sorting dynamic

---------

Co-authored-by: joshhunt <josh@trtr.co>
This commit is contained in:
Michael Mandrus
2024-07-29 17:55:22 +00:00
committed by GitHub
co-authored by joshhunt
parent 9d639278f4
commit a6088e4ee4
3 changed files with 67 additions and 1 deletions
@@ -254,7 +254,7 @@ func (c *gmsClientImpl) ReportEvent(ctx context.Context, session cloudmigration.
return
}
path := fmt.Sprintf("%s/api/v1/snapshots/events", c.buildBasePath(session.ClusterSlug))
path := fmt.Sprintf("%s/api/v1/events", c.buildBasePath(session.ClusterSlug))
var buf bytes.Buffer
if err := json.NewEncoder(&buf).Encode(event); err != nil {