Skip to content

Commit

Permalink
Merge pull request #7678 from mikesplain/automated-cherry-pick-of-#76…
Browse files Browse the repository at this point in the history
…60-origin-release-1.14

Automated cherry pick of #7660: Align AWS and kops validation for spot allocation strategy
  • Loading branch information
k8s-ci-robot authored Sep 25, 2019
2 parents 80646af + f78e8f2 commit 0db40ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions pkg/apis/kops/instancegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,10 @@ type InstanceGroupSpec struct {
}

const (
// SpotAllocationStrategyLowestPrices indicates a lowest price strategy
SpotAllocationStrategyLowestPrices = "LowestPrice"
// SpotAllocationStrategyLowestPrices indicates a lowest-price strategy
SpotAllocationStrategyLowestPrices = "lowest-price"
// SpotAllocationStrategyDiversified indicates a diversified strategy
SpotAllocationStrategyDiversified = "Diversified"
SpotAllocationStrategyDiversified = "diversified"
)

// SpotAllocationStrategies is a collection of supported strategies
Expand Down
6 changes: 3 additions & 3 deletions pkg/apis/kops/v1alpha1/instancegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ type InstanceGroupSpec struct {
}

const (
// SpotAllocationStrategyLowestPrices indicates a lowest price strategy
SpotAllocationStrategyLowestPrices = "LowestPrice"
// SpotAllocationStrategyLowestPrices indicates a lowest-price strategy
SpotAllocationStrategyLowestPrices = "lowest-price"
// SpotAllocationStrategyDiversified indicates a diversified strategy
SpotAllocationStrategyDiversified = "Diversified"
SpotAllocationStrategyDiversified = "diversified"
)

// SpotAllocationStrategies is a collection of supported strategies
Expand Down
6 changes: 3 additions & 3 deletions pkg/apis/kops/v1alpha2/instancegroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ type InstanceGroupSpec struct {
}

const (
// SpotAllocationStrategyLowestPrices indicates a lowest price strategy
SpotAllocationStrategyLowestPrices = "LowestPrice"
// SpotAllocationStrategyLowestPrices indicates a lowest-price strategy
SpotAllocationStrategyLowestPrices = "lowest-price"
// SpotAllocationStrategyDiversified indicates a diversified strategy
SpotAllocationStrategyDiversified = "Diversified"
SpotAllocationStrategyDiversified = "diversified"
)

// SpotAllocationStrategies is a collection of supported strategies
Expand Down

0 comments on commit 0db40ea

Please sign in to comment.