-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Agent upgrade 8.2->8.3 #578
Changes from 1 commit
72ad40c
95a2d3c
96bf5ac
2a9ecaa
a564b44
76af2f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -191,7 +191,7 @@ func (a *ActionPolicyChange) Expiration() (time.Time, error) { | |
|
||
// ActionUpgrade is a request for agent to upgrade. | ||
type ActionUpgrade struct { | ||
ActionID string `yaml:"action_id"` | ||
ActionID string `yaml:"id"` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @michel-laterman I had to change the yaml serialization field name back to what it was before in order to fix the issue with .update-market. Please double check that has no other side-effects in the context of the original changes mentioned in the description of this PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we can do 2 step migration when now, we will support action_id and id |
||
ActionType string `yaml:"type"` | ||
ActionStartTime string `json:"start_time" yaml:"start_time,omitempty"` // TODO change to time.Time in unmarshal | ||
ActionExpiration string `json:"expiration" yaml:"expiration,omitempty"` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michel-laterman this seems to be needed here, since the action was just acked so we can persist the market with correct "acked" value. Please double check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is correct, however I didn't alter any of the upgrade action steps when I added the queue