Skip to content

Commit

Permalink
Merge pull request #5 from redskyops/collect-only
Browse files Browse the repository at this point in the history
Add an optimize flag to the metric specification
  • Loading branch information
jgustie authored Nov 6, 2020
2 parents e07f5d4 + f4d140e commit 507098b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/redskyapi/experiments/v1alpha1/experiment.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +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 optimized (nil defaults to true).
Optimize *bool `json:"optimize,omitempty"`
}

type ConstraintType string
Expand Down

0 comments on commit 507098b

Please sign in to comment.