Skip to content

Conversation

susanpann
Copy link
Contributor

@susanpann susanpann commented Jun 18, 2024

Introduce priority to lifecycles and deployments

#project-fairer-task-queue
[sc-81601]

@susanpann susanpann marked this pull request as draft June 19, 2024 23:12
@susanpann susanpann marked this pull request as ready for review June 23, 2024 23:59
FormValues map[string]string `json:"FormValues,omitempty"`
ManifestVariableSetID string `json:"ManifestVariableSetId,omitempty"`
Name string `json:"Name,omitempty"`
Priority string `json:"Priority" binding:"oneof=On Off LifecycleDefault"`
Copy link
Contributor

Choose a reason for hiding this comment

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

What happens if this is not set? Is it required? Is there a default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

At the moment it sets it to an empty string. I've changed it to set the default to LifecycleDefault, with the omitempty tag

Copy link
Contributor

@tothegills tothegills left a comment

Choose a reason for hiding this comment

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

It looks good to me.

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.

2 participants