Skip to content

Commit d75aaad

Browse files
committed
operator: correct resource validation when cpuset is used
One of the chceks wasn't ported during v2 migration.
1 parent 854675c commit d75aaad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/api/v1alpha1/cluster_validation.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ func checkValues(c *Cluster) error {
4141
if requests.Memory().MilliValue() != limits.Memory().MilliValue() {
4242
return errors.Errorf("when using cpuset, memory requests must be the same as memory limits in rack %s", rack.Name)
4343
}
44-
return errors.Errorf("when using cpuset, requests must be the same as limits in rack %s", rack.Name)
4544
} else {
4645
// Copy the limits
4746
rack.Resources.Requests = limits.DeepCopy()

0 commit comments

Comments
 (0)