]> git.proxmox.com Git - pve-manager.git/commitdiff
perl: fix some common typos found with codespell
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 15 Jun 2019 08:40:20 +0000 (10:40 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 15 Jun 2019 08:40:20 +0000 (10:40 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/APT.pm
PVE/API2/Ceph.pm
PVE/API2/Cluster.pm
PVE/API2/Network.pm
PVE/API2/Nodes.pm
PVE/API2/Services.pm
PVE/APLInfo.pm
PVE/CLI/pveam.pm
PVE/VZDump.pm

index 06016231a69c39d615ccacd67846752d44b39b49..3796677b360d68845e88ef4554773a8e98959151 100644 (file)
@@ -433,7 +433,7 @@ __PACKAGE__->register_method({
                    }
                }
            }
-           die "package '$pkgname' version '$param->{version}' is not avalable\n" if !$ver;
+           die "package '$pkgname' version '$param->{version}' is not available\n" if !$ver;
        } else {
            $ver = $policy->candidate($p) || die "no installation candidate for package '$pkgname'\n";
        }
index 185bbdea3580b6b51c0ea338dff428778011712f..2db9c7db32ea23dffdf23e9dbc4adb55ea56cc53 100644 (file)
@@ -280,7 +280,7 @@ __PACKAGE__->register_method ({
                maximum => 14,
            },
            disable_cephx => {
-               description => "Disable cephx authentification.\n\n" .
+               description => "Disable cephx authentication.\n\n" .
                    "WARNING: cephx is a security feature protecting against " .
                    "man-in-the-middle attacks. Only consider disabling cephx ".
                    "if your network is private!",
index 724d7aa04fa5bc2d60bf812497ae3c3279874ce3..8af5f3f0cc3ba3633f88f4f10d37074986760002 100644 (file)
@@ -485,7 +485,7 @@ __PACKAGE__->register_method({
     name => 'get_status', 
     path => 'status', 
     method => 'GET',
-    description => "Get cluster status informations.",
+    description => "Get cluster status information.",
     permissions => {
        check => ['perm', '/', [ 'Sys.Audit' ]],
     },
index f1982e5e0d071aeabc83e24790e025caa61bbcd8..00337fe2b9e6015049b65392b74691957039b6cd 100644 (file)
@@ -61,12 +61,12 @@ my $confdesc = {
        optional => 1,
     },
     bridge_ports => {
-       description => "Specify the iterfaces you want to add to your bridge.",
+       description => "Specify the interfaces you want to add to your bridge.",
        optional => 1,
        type => 'string', format => 'pve-iface-list',
     },
     ovs_ports => {
-       description => "Specify the iterfaces you want to add to your bridge.",
+       description => "Specify the interfaces you want to add to your bridge.",
        optional => 1,
        type => 'string', format => 'pve-iface-list',
     },
index 4136f6ed33f74c2abc6be8aeeba3457df8bdef13..9921c9e1aab182d62678fb6ac4fbe117c304b465 100644 (file)
@@ -1395,7 +1395,7 @@ __PACKAGE__->register_method({
                completion => \&PVE::Storage::complete_storage_enabled,
            }),
            template => { type => 'string',
-                         description => "The template wich will downloaded",
+                         description => "The template which will downloaded",
                          maxLength => 255,
                          completion => \&complete_templet_repo,
            },
index d031a3a66c346576ab504ef573d6b99b62e8b8b8..df74249856ac091f7a1f0e6fd55733450d891d0f 100644 (file)
@@ -306,7 +306,7 @@ __PACKAGE__->register_method ({
        my $realcmd = sub {
            my $upid = shift;
 
-           syslog('info', "stoping service $param->{service}: $upid\n");
+           syslog('info', "stopping service $param->{service}: $upid\n");
 
            &$service_cmd($param->{service}, 'stop');
 
index 99c02348456b0dfe76f49f0857e95169ce85e2f5..021b18a2e6c2f9d50d3a41d461ddc17570b19289 100644 (file)
@@ -190,7 +190,7 @@ sub download_aplinfo {
            die "update failed: unable to store data\n";
        }
 
-       logmsg($logfd, "update sucessful");
+       logmsg($logfd, "update successful");
     };
 
     my $err = $@;
index 18f8d94e38a3fef2a866d2b72234188dc400bbc8..2d4fcd717abe9b4c98b06e58d0957f092bb94f73 100644 (file)
@@ -88,7 +88,7 @@ __PACKAGE__->register_method ({
     method => 'GET',
     description => "Get list of all templates on storage",
     permissions => {
-       description => "Show all users the template wich have permission on that storage.",
+       description => "Show all users the template which have permission on that storage.",
        check => ['perm', '/storage/{storage}', ['Datastore.AllocateTemplate']],
     },
     proxyto => 'node',
index c3fbd0e31333104c3998d890c2b11ddda0554e4d..1371702f19e544bd5dc65d10d443fa052668b75b 100644 (file)
@@ -122,7 +122,7 @@ my $confdesc = {
     }),
     stop => {
        type => 'boolean',
-       description => "Stop runnig backup jobs on this host.",
+       description => "Stop running backup jobs on this host.",
        optional => 1,
        default => 0,
     },
@@ -633,8 +633,8 @@ sub getlock {
     if (!flock (SERVER_FLCK, LOCK_EX|LOCK_NB)) {
 
        if (!$maxwait) {
-           debugmsg ('err', "can't aquire lock '$lockfile' (wait = 0)", undef, 1);
-           die "can't aquire lock '$lockfile' (wait = 0)";
+           debugmsg ('err', "can't acquire lock '$lockfile' (wait = 0)", undef, 1);
+           die "can't acquire lock '$lockfile' (wait = 0)";
        }
 
        debugmsg('info', "trying to get global lock - waiting...", undef, 1);
@@ -657,8 +657,8 @@ sub getlock {
        my $err = $@;
        
        if ($err) {
-           debugmsg ('err', "can't aquire lock '$lockfile' - $err", undef, 1);
-           die "can't aquire lock '$lockfile' - $err";
+           debugmsg ('err', "can't acquire lock '$lockfile' - $err", undef, 1);
+           die "can't acquire lock '$lockfile' - $err";
        }
 
        debugmsg('info', "got global lock", undef, 1);
@@ -1206,7 +1206,7 @@ sub stop_running_backups {
            last if !PVE::ProcFSTools::check_process_running(($task->{pid}, $task->{pstart}));
            sleep (1);
        }
-       die "stoping backup process $task->{pid} failed\n" if $i == 0;
+       die "stopping backup process $task->{pid} failed\n" if $i == 0;
     }
 }