Skip to content

Commit

Permalink
Update pkg/util/cluster/cluster.go with suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Kipp Morris <[email protected]>
  • Loading branch information
Tof1973 and kimorris27 authored Feb 2, 2025
1 parent 434650e commit 7e7fc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ func (c *Cluster) createCluster(ctx context.Context, vnetResourceGroup, clusterN
if err != nil {
return err
}
// In LocalDev mode, if workerVmSize is not default one, then it means user requested a specific one we need to keep.
// If we're in local dev mode and the user has not overridden the default VM size, use a smaller size for cost-saving purposes
if workerVmSize == DefaultWorkerVmSize {
oc.Properties.WorkerProfiles[0].VMSize = api.VMSizeStandardD2sV3
}
Expand Down

0 comments on commit 7e7fc83

Please sign in to comment.