2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-04 12:07:56 +00:00

fix(instutils): group nodes only under usable server addresses

This commit is contained in:
Vinícius Ferrão
2026-08-31 20:10:17 -03:00
parent f8ea7c33d2
commit 015c0a14cc
+2 -2
View File
@@ -771,9 +771,9 @@ sub get_server_nodes
else{
next;
}
chomp $serv;
chomp $serv if $serv;
if (xCAT::NetworkUtils->validate_ip($serv)) {
if (xCAT::NetworkUtils->isValidIp($serv)) {
push(@{ $servernodes{$serv} }, $node);
}
}