We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bdef5f commit 192e224Copy full SHA for 192e224
pkg/cloud/gcp/actuators/machine/reconciler.go
@@ -92,7 +92,7 @@ func restartPolicyToBool(policy machinev1.GCPRestartPolicyType, preemptible bool
92
return nil, nil
93
} else if policy == machinev1.RestartPolicyAlways {
94
if preemptible || provisioningModel == machinev1.GCPSpotInstance {
95
- return nil, errors.New("preemptible or spot instances cannot be automatically restarted")
+ return nil, errors.New("preemptible/spot instances cannot be automatically restarted")
96
}
97
return pointer.Bool(true), nil
98
} else if policy == machinev1.RestartPolicyNever {
0 commit comments