Skip to content

Commit

Permalink
vSphere: remove CPU number defaulting
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Demichev committed Oct 23, 2020
1 parent 9b52818 commit 5209c5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/controller/vsphere/reconciler.go
Expand Up @@ -532,9 +532,7 @@ func clone(s *machineScope) (string, error) {
}

numCPUs := s.providerSpec.NumCPUs
if numCPUs < minCPU {
numCPUs = minCPU
}

numCoresPerSocket := s.providerSpec.NumCoresPerSocket
if numCoresPerSocket == 0 {
numCoresPerSocket = numCPUs
Expand Down

0 comments on commit 5209c5c

Please sign in to comment.