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

Removed obsolete operator version fields #1027

Merged
merged 1 commit into from
Nov 5, 2019
Merged

Conversation

zen-dog
Copy link
Contributor

@zen-dog zen-dog commented Nov 5, 2019

delete and objects fields are a remnant of the old API and can be removed now.

`delete` and `objects` are a remnant of the old API and can be removed now.
@@ -108,12 +102,8 @@ type Phase struct {

// Step defines a specific set of operations that occur.
type Step struct {
Name string `json:"name" validate:"required"` // makes field mandatory and checks if set and non empty
Tasks []string `json:"tasks" validate:"required,gt=0,dive"` // makes field mandatory and checks if non empty
Delete bool `json:"delete,omitempty"` // no checks needed
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actual change: lines 113-116 on the left were removed

Copy link
Contributor

@alenkacz alenkacz left a comment

Choose a reason for hiding this comment

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

Nice cleanup!

@zen-dog zen-dog merged commit 086d170 into master Nov 5, 2019
@zen-dog zen-dog deleted the ad/steps-cleanup branch November 5, 2019 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants