Skip to content

Commit

Permalink
Invert logic on the "optimize" flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jgustie committed Nov 4, 2020
1 parent 2cfc501 commit f4d140e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/redskyapi/experiments/v1alpha1/experiment.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ type Metric struct {
Name string `json:"name"`
// The flag indicating this metric should be minimized.
Minimize bool `json:"minimize,omitempty"`
// The flag indicating this metric is not optimized.
CollectOnly bool `json:"collectOnly,omitempty"`
// The flag indicating this metric is optimized (nil defaults to true).
Optimize *bool `json:"optimize,omitempty"`
}

type ConstraintType string
Expand Down

0 comments on commit f4d140e

Please sign in to comment.