Skip to content

Commit 471fed3

Browse files
committed
start: Add storage stat to the update completed event
Signed-off-by: Mike Sul <mike.sul@foundries.io>
1 parent ecdb2c7 commit 471fed3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pkg/state/start.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ func (s *Start) Execute(ctx context.Context, updateCtx *UpdateContext) error {
4747
slog.Error("failed to get current app statuses update completion", "error", errStatus)
4848
}
4949

50+
// Update storage usage info after update completion to reflect actual usage
51+
if err := updateCtx.getAndSetStorageUsageInfo(); err != nil {
52+
slog.Debug("failed to get storage usage info after fetch", "error", err)
53+
}
5054
updateCtx.SendEvent(events.InstallationCompleted, err)
5155
return err
5256
}

0 commit comments

Comments
 (0)