Skip to content

Commit 9d4d3d9

Browse files
authored
Merge pull request #155 from zimnx/mz/cpuset-fix
operator: correct resource validation when cpuset is used
2 parents 854675c + d75aaad commit 9d4d3d9

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)