Ensure UpdateInfo doesn't have duplicate field names

This commit is contained in:
stack72 2021-01-04 21:34:18 +00:00
parent c047979b16
commit cf91644cd5

View file

@ -84,7 +84,7 @@ const (
// Should generally mirror backend.UpdateInfo, but we clone it in this package to add
// flexibility in case there is a breaking change in the backend-type.
type UpdateInfo struct {
Version int `json:"version"`
UpdateVersion int `json:"version"`
// Information known before an update is started.
Kind UpdateKind `json:"kind"`
StartTime int64 `json:"startTime"`