Skip to content

Commit

Permalink
Fix compilation error.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Jan 19, 2024
1 parent 18fedc0 commit b90fdc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/emrserverless/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ func expandInitialCapacityConfig(tfMap map[string]interface{}) types.InitialCapa
apiObject := types.InitialCapacityConfig{}

if v, ok := tfMap["worker_count"].(int); ok {
apiObject.WorkerCount = int64(v)
apiObject.WorkerCount = aws.Int64(int64(v))
}

if v, ok := tfMap["worker_configuration"].([]interface{}); ok && v[0] != nil {
Expand Down

0 comments on commit b90fdc3

Please sign in to comment.