Skip to content

Commit 495f894

Browse files
MenD32damdo
andcommitted
Update pkg/cloud/gcp/actuators/machine/reconciler.go
Co-authored-by: Damiano Donati <[email protected]>
1 parent 9e653a8 commit 495f894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cloud/gcp/actuators/machine/reconciler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ func (r *Reconciler) validateGuestAccelerators() error {
156156
// machine types that have GPUs included would skip this function. The ultimate result for users it that new GPU
157157
// machine types will not have accurate quota reporting. If machines are being pathologically deleted and recreated
158158
// it may be a sign of a quota issue.
159-
if len(r.providerSpec.GPUs) == 0 && !strings.HasPrefix(r.providerSpec.MachineType, "a2-") && !strings.HasPrefix(r.providerSpec.MachineType, "a3-") || strings.HasPrefix(r.providerSpec.MachineType, "a3-ultragpu") {
159+
if len(r.providerSpec.GPUs) == 0 && !strings.HasPrefix(r.providerSpec.MachineType, "a2-") && !strings.HasPrefix(r.providerSpec.MachineType, "a3-") || strings.HasPrefix(r.providerSpec.MachineType, "a3-ultragpu-") {
160160
// no accelerators to validate so return nil
161161
return nil
162162
}

0 commit comments

Comments
 (0)