From 61660646cb9fdcb7edb97ebce60ca0e8c7552e06 Mon Sep 17 00:00:00 2001 From: Shaunak Kashyap Date: Thu, 12 Oct 2023 17:12:43 -0700 Subject: [PATCH] Fix initialization --- internal/pkg/agent/application/coordinator/coordinator.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/pkg/agent/application/coordinator/coordinator.go b/internal/pkg/agent/application/coordinator/coordinator.go index 327c0f0659b..9784fb64264 100644 --- a/internal/pkg/agent/application/coordinator/coordinator.go +++ b/internal/pkg/agent/application/coordinator/coordinator.go @@ -450,12 +450,10 @@ func (c *Coordinator) Upgrade(ctx context.Context, version string, sourceURI str // initialize upgrade details actionID := "" - detMetadata := details.DetailsMetadata{} if action != nil { actionID = action.ActionID - detMetadata.ScheduledAt = action.ActionStartTime } - det := details.NewDetails(version, details.StateRequested, actionID, detMetadata) + det := details.NewDetails(version, details.StateRequested, actionID) det.RegisterObserver(c.setUpgradeDetails) cb, err := c.upgradeMgr.Upgrade(ctx, version, sourceURI, action, det, skipVerifyOverride, skipDefaultPgp, pgpBytes...)