Adding minimum instances to test data for update. Changing YAML de-serializing field name to match the name od the struct member and to decrease ambiguity.

This commit is contained in:
Renan DelValle 2020-05-07 20:19:26 -07:00
parent 090fdf1715
commit 82fe22e013
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
2 changed files with 5 additions and 4 deletions

View file

@ -49,7 +49,7 @@ type UpdateStrategy struct {
type UpdateSettings struct {
MaxPerInstanceFailures int32 `yaml:"maxPerInstanceFailures"`
MaxFailedInstances int32 `yaml:"maxFailedInstances"`
MinTimeInRunning time.Duration `yaml:"minTimeRunning"`
MinTimeInRunning time.Duration `yaml:"minTimeInRunning"`
RollbackOnFailure bool `yaml:"rollbackOnFailure"`
InstanceRanges []InstanceRange `yaml:"instanceRanges"`
InstanceCount int32 `yaml:"instanceCount"`