Skip to content

Commit

Permalink
Issue #401 - Mismatch ScalingMaxCapacity and ScalingMaxSize
Browse files Browse the repository at this point in the history
The database template expected Capacity while the database_upserter
set Size as the parameter.
  • Loading branch information
mneil committed Nov 20, 2018
1 parent d20bb9a commit c41712e
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 c41712e

Please sign in to comment.