Merge pull request #1448 from huone1/fix/scheduler

fix rb spec.Clusters is incorrent in some scenarios
This commit is contained in:
karmada-bot 2022-03-10 09:32:22 +08:00 committed by GitHub
commit 0d0975db5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}
}