Skip to content

Commit

Permalink
Merge branch 'main' into context-logger
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman authored Nov 7, 2023
2 parents dd7d8f8 + 464141d commit 4cf8c67
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions internal/pkg/api/handleCheckin.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,13 +452,8 @@ func (ct *CheckinT) processUpgradeDetails(ctx context.Context, agent *model.Agen
}
vSpan.End()

// marshal and update agent doc with details
p, err := json.Marshal(details)
if err != nil {
return err
}
doc := bulk.UpdateFields{
dl.FieldUpgradeDetails: p,
dl.FieldUpgradeDetails: details,
}
body, err := doc.Marshal()
if err != nil {
Expand Down

0 comments on commit 4cf8c67

Please sign in to comment.