Skip to content

Commit

Permalink
Patch Envelopes: use app instance UUID for PublishAppInfoToZedCloud
Browse files Browse the repository at this point in the history
… call

Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
  • Loading branch information
uncleDecart authored and eriknordmark committed Dec 13, 2023
1 parent f41a179 commit 6514271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pillar/cmd/zedagent/handlemetrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ func PublishAppInfoToZedCloud(ctx *zedagentContext, uuid string,
ReportAppInfo.AppVersion = aiStatus.UUIDandVersion.Version
ReportAppInfo.AppName = aiStatus.DisplayName
ReportAppInfo.State = aiStatus.State.ZSwState()
ReportAppInfo.PatchEnvelope = composePatchEnvelopeUsage(uuid, ctx)
ReportAppInfo.PatchEnvelope = composePatchEnvelopeUsage(aiStatus.UUIDandVersion.UUID.String(), ctx)
if !aiStatus.ErrorTime.IsZero() {
errInfo := encodeErrorInfo(
aiStatus.ErrorAndTimeWithSource.ErrorDescription)
Expand Down

0 comments on commit 6514271

Please sign in to comment.