]> git.proxmox.com Git - pmg-api.git/commitdiff
remove wrong my declaration
authorDietmar Maurer <dietmar@proxmox.com>
Sun, 19 Feb 2017 13:34:26 +0000 (14:34 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sun, 19 Feb 2017 13:34:26 +0000 (14:34 +0100)
PMG/Cluster.pm

index f9801be75ba7a735af6939ff9a2a4ddbc6ac349e..7b44d93526eedb167a9daaa8568f1a3cd2a56da8 100644 (file)
@@ -54,7 +54,7 @@ sub remote_node_ip {
 sub get_master_node {
     my ($cinfo) = @_;
 
-    my $cinfo //= PVE::INotify::read_file("cluster.conf");
+    $cinfo //= PVE::INotify::read_file("cluster.conf");
 
     return $cinfo->{master}->{name} if defined($cinfo->{master});