]> git.proxmox.com Git - pmg-api.git/commitdiff
PMG::Cluster::sync_config_from_master - do not call rewrite_config
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 25 Apr 2017 06:09:17 +0000 (08:09 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 25 Apr 2017 06:09:17 +0000 (08:09 +0200)
PMG/Cluster.pm

index 8f8a530a8d29617465422f9ee12dfbd1acb07bca..20d8f0893dc2f1cc9aff85754be872a360b16c19 100644 (file)
@@ -382,10 +382,6 @@ sub sync_config_from_master {
     }
 
     $cond_commit_synced_file->('pmg.conf');
-
-    my $cfg = PMG::Config->new();
-
-    $cfg->rewrite_config(1, $force_restart);
 }
 
 sub sync_ruledb_from_master {