Skip to content

Commit

Permalink
Merge pull request #402 from stelligent/issue-401
Browse files Browse the repository at this point in the history
Issue #401 - Mismatch ScalingMaxCapacity and ScalingMaxSize
  • Loading branch information
cplee authored Nov 21, 2018
2 parents d20bb9a + c41712e commit 7a78d59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflows/database_upsert.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ func (workflow *databaseWorkflow) databaseDeployer(namespace string, service *co
common.NewMapElementIfNotEmpty(stackParams, "DatabaseInstanceClass", dbConfig.InstanceClass)
common.NewMapElementIfNotEmpty(stackParams, "DatabaseStorage", dbConfig.AllocatedStorage)

common.NewMapElementIfNotEmpty(stackParams, "ScalingMinSize", dbConfig.MinSize)
common.NewMapElementIfNotEmpty(stackParams, "ScalingMaxSize", dbConfig.MaxSize)
common.NewMapElementIfNotEmpty(stackParams, "ScalingMinCapacity", dbConfig.MinSize)
common.NewMapElementIfNotEmpty(stackParams, "ScalingMaxCapacity", dbConfig.MaxSize)
common.NewMapElementIfNotEmpty(stackParams, "SecondsUntilAutoPause", dbConfig.SecondsUntilAutoPause)

stackParams["DatabaseMasterUsername"] = "admin"
Expand Down

0 comments on commit 7a78d59

Please sign in to comment.