fix rb spec.Clusters is incorrent in some scenarios
Signed-off-by: huone1 <huwanxing@huawei.com>
This commit is contained in:
parent
7ed9c62651
commit
c876bb624f
|
@ -57,7 +57,7 @@ func divideReplicasByResource(
|
||||||
}
|
}
|
||||||
return newTargetClusters, nil
|
return newTargetClusters, nil
|
||||||
} else {
|
} else {
|
||||||
return spec.Clusters, nil
|
return scheduledClusters, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue