fix rb spec.Clusters is incorrent in some scenarios

Signed-off-by: huone1 <huwanxing@huawei.com>
This commit is contained in:
huone1 2022-03-08 11:02:26 +08:00
parent 7ed9c62651
commit c876bb624f
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func divideReplicasByResource(
}
return newTargetClusters, nil
} else {
return spec.Clusters, nil
return scheduledClusters, nil
}
}