[pve-devel] [PATCH pve-cluster 1/2] Fix #1093: allow also delete node by IP

Dietmar Maurer dietmar at proxmox.com
Tue Sep 6 08:08:32 CEST 2016


> -	my $nd = delete $nodelist->{$param->{node}};
> -	die "no such node '$param->{node}'\n" if !$nd;
> -	
> +	my $node;
> +
> +	foreach my $tmp_node (keys %$nodelist) {
> +
> +	    if ($nodelist->{$tmp_node}->{ring0_addr} eq $param->{node}

Please can we also test ring1_addr?




More information about the pve-devel mailing list