Skip to content
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

session: clean up data model fields #4407

Merged
merged 1 commit into from Apr 7, 2021
Merged

Conversation

milas
Copy link
Member

@milas milas commented Apr 7, 2021

Missed an desired rename here (Reason -> WaitReason) and a
few of these had mismatched/missing JSON field names from
continuous changes.

Also renamed a misnamed var in the conversion.

Missed an desired rename here (`Reason` -> `WaitReason`) and a
few of these had mismatched/missing JSON field names from
continuous changes.

Also renamed a misnamed var in the conversion.
@milas milas requested a review from maiamcc April 7, 2021 17:08
Copy link
Contributor

@maiamcc maiamcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm-fish

Terminated *TargetStateTerminated `json:"terminated,omitempty"`
}

// TargetStateWaiting is a target that has been enqueued for execution but has not yet started.
type TargetStateWaiting struct {
// Reason is a description for why the target is waiting and not yet active.
Reason string `json:"reason"`
// WaitReason is a description for why the target is waiting and not yet active.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@milas milas merged commit c1b9b3a into master Apr 7, 2021
@milas milas deleted the milas/session-model-fixes branch April 7, 2021 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants