]> git.proxmox.com Git - pve-cluster.git/commitdiff
remove vm_is_ha_managed method
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 27 Mar 2015 09:56:33 +0000 (10:56 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 27 Mar 2015 09:56:33 +0000 (10:56 +0100)
data/PVE/Cluster.pm

index 0e982dcea8f63db89ea31fbe946cba9e794f7d59..3ca92d08fa14e873bd1f158a04c49e65b0519070 100644 (file)
@@ -1428,14 +1428,4 @@ PVE::Cluster::cfs_register_file('corosync.conf', \&parse_corosync_conf);
 PVE::Cluster::cfs_register_file('corosync.conf.new', \&parse_corosync_conf, 
                                \&write_corosync_conf);
 
-sub vm_is_ha_managed {
-    my ($vmid) = @_;
-
-    # fixme: what HA stack do we use on debian jessie?
-    # this is old code used with rgmanager
-    #my $cc = cfs_read_file('cluster.conf');
-    #if (cluster_conf_lookup_pvevm($cc, 0, $vmid, 1)) {
-    #return 1;
-    #}
-    return 0;
-};
+1;