Skip to content

Commit

Permalink
Use correct quantity-per-subnet when creating node-pool. Resolves #14. (
Browse files Browse the repository at this point in the history
  • Loading branch information
jlamillan authored Aug 20, 2020
1 parent aa52554 commit bd5a70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oke/oke_manager_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func (mgr *ClusterManagerClient) CreateNodePool(ctx context.Context, state *Stat
}
npReq.NodeConfigDetails = &containerengine.CreateNodePoolNodeConfigDetails{
PlacementConfigs: make([]containerengine.NodePoolPlacementConfigDetails, 0, len(ads.Items)),
Size: common.Int(len(ads.Items)),
Size: common.Int(int(state.NodePool.QuantityPerSubnet)),
}

// Match up subnet(s) to availability domains
Expand Down

0 comments on commit bd5a70b

Please sign in to comment.