Skip to content

Commit

Permalink
Missed a couple of instances.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Sep 11, 2023
1 parent 3acc2d5 commit dd732b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/state/autoupdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@ func autoUpdate(args []string, cfg *config.Instance, an analytics.Dispatcher, ou
msg = anaConst.UpdateErrorRelaunch
}
an.EventWithLabel(anaConst.CatUpdates, anaConst.ActUpdateRelaunch, anaConst.UpdateLabelFailed, &dimensions.Values{
Version: ptr.To(up.Version),
Error: ptr.To(msg),
TargetVersion: ptr.To(up.Version),
Error: ptr.To(msg),
})
return true, errs.Silence(errs.WrapExitCode(err, code))
}

an.EventWithLabel(anaConst.CatUpdates, anaConst.ActUpdateRelaunch, anaConst.UpdateLabelSuccess, &dimensions.Values{
Version: ptr.To(up.Version),
TargetVersion: ptr.To(up.Version),
})
return true, nil
}
Expand Down

0 comments on commit dd732b9

Please sign in to comment.