fix typos all over the place

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-09-03 07:55:32 +02:00
parent e1b5780906
commit a740deff88
3 changed files with 5 additions and 5 deletions

View File

@ -276,7 +276,7 @@ __PACKAGE__->register_method ({
$cfg->{global}->{mon_host} = $monhost;
if (!defined($cfg->{global}->{public_network})) {
# if there is no info about the public_network
# we have to set it explicitely for the monitor
# we have to set it explicitly for the monitor
$cfg->{$monsection}->{public_addr} = $ip;
}
@ -381,7 +381,7 @@ __PACKAGE__->register_method ({
# delete from mon_host
if (my $monhost = $cfg->{global}->{mon_host}) {
# various replaces to remove the ip
# we always match the beginning or a seperator (also at the end)
# we always match the beginning or a separator (also at the end)
# so we do not accidentally remove a wrong ip
# e.g. removing 10.0.0.1 should not remove 10.0.0.101 or 110.0.0.1
@ -399,7 +399,7 @@ __PACKAGE__->register_method ({
$monhost =~ s/(^|[ ,;]+)\Q$addr\E(?:[ ,;]+|$)/$1/;
}
# remove trailing seperators
# remove trailing separators
$monhost =~ s/[ ,;]+$//;
$cfg->{global}->{mon_host} = $monhost;

View File

@ -1655,7 +1655,7 @@ __PACKAGE__->register_method ({
description => "Issue start command even if virtual guest have 'onboot' not set or set to off.",
},
vms => {
description => "Only consider guests from this comma seperated list of VMIDs.",
description => "Only consider guests from this comma separated list of VMIDs.",
type => 'string', format => 'pve-vmid-list',
optional => 1,
},

View File

@ -46,7 +46,7 @@ __PACKAGE__->register_method ({
my $res = PVE::APLInfo::update($dccfg->{http_proxy});
if ($res) {
print STDOUT "update sucessful\n"
print STDOUT "update successful\n"
} else {
print STDERR "update failed - see /var/log/pveam.log for details\n"
}