]> git.proxmox.com Git - pve-storage.git/commitdiff
PVE::ReplicationTools - s/delet/delete/
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 8 May 2017 08:22:57 +0000 (10:22 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 8 May 2017 08:22:57 +0000 (10:22 +0200)
PVE/ReplicationTools.pm

index 762002193181f80cc1d9934957f7edb44e777751..5fad1c961f57edfbdc667e459daee2c4a5488fb0 100644 (file)
@@ -235,7 +235,7 @@ sub sync_guest {
            $disks_status->{$volid}->{synced} = 1;
        }
 
-       # delet old snapshot if exists
+       # delete old snapshot if exists
        cleanup_snapshot($disks_status, $snapname, $storage_config, $running, $ip, $lastsync) if
            $lastsync != 0;
 
@@ -538,7 +538,7 @@ sub update_conf {
            $jobs->{$vmid}->{interval} = $value || 15;
        } elsif ($key eq 'replica_rate_limit'){
                $jobs->{$vmid}->{limit} = $value ||
-                   delet $jobs->{$vmid}->{limit};
+                   delete $jobs->{$vmid}->{limit};
        }  else {
            die "Config parameter $key not known";
        }