fix: remove witness node in VM node scheduling tab

Signed-off-by: andy.lee <andy.lee@suse.com>
(cherry picked from commit 993706fead925b45f616d0f482fb504519b4062e)
This commit is contained in:
andy.lee 2025-01-14 16:19:27 +08:00 committed by Mergify
parent a6405989e9
commit f4ea7b6ea0

View File

@ -217,7 +217,7 @@ export default {
const selectedVMNetworks = networkNames.map((name) => vmNetworks.find((n) => n.id === name)).filter((n) => n?.id);
const clusterNetworks = uniq(selectedVMNetworks.map((n) => n.clusterNetworkResource?.id));
return nodes.filter((N) => !N.isUnSchedulable).map((node) => {
return nodes.filter((N) => !N.isUnSchedulable && N.isEtcd !== 'true').map((node) => {
const requireLabelKeys = [];
let isNetworkSchedule = true;