mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-09 08:56:34 +00:00
fix typos all over the place
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e1b5780906
commit
a740deff88
@ -276,7 +276,7 @@ __PACKAGE__->register_method ({
|
|||||||
$cfg->{global}->{mon_host} = $monhost;
|
$cfg->{global}->{mon_host} = $monhost;
|
||||||
if (!defined($cfg->{global}->{public_network})) {
|
if (!defined($cfg->{global}->{public_network})) {
|
||||||
# if there is no info about the 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;
|
$cfg->{$monsection}->{public_addr} = $ip;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ __PACKAGE__->register_method ({
|
|||||||
# delete from mon_host
|
# delete from mon_host
|
||||||
if (my $monhost = $cfg->{global}->{mon_host}) {
|
if (my $monhost = $cfg->{global}->{mon_host}) {
|
||||||
# various replaces to remove the ip
|
# 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
|
# 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
|
# 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/;
|
$monhost =~ s/(^|[ ,;]+)\Q$addr\E(?:[ ,;]+|$)/$1/;
|
||||||
}
|
}
|
||||||
|
|
||||||
# remove trailing seperators
|
# remove trailing separators
|
||||||
$monhost =~ s/[ ,;]+$//;
|
$monhost =~ s/[ ,;]+$//;
|
||||||
|
|
||||||
$cfg->{global}->{mon_host} = $monhost;
|
$cfg->{global}->{mon_host} = $monhost;
|
||||||
|
@ -1655,7 +1655,7 @@ __PACKAGE__->register_method ({
|
|||||||
description => "Issue start command even if virtual guest have 'onboot' not set or set to off.",
|
description => "Issue start command even if virtual guest have 'onboot' not set or set to off.",
|
||||||
},
|
},
|
||||||
vms => {
|
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',
|
type => 'string', format => 'pve-vmid-list',
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
|
@ -46,7 +46,7 @@ __PACKAGE__->register_method ({
|
|||||||
my $res = PVE::APLInfo::update($dccfg->{http_proxy});
|
my $res = PVE::APLInfo::update($dccfg->{http_proxy});
|
||||||
|
|
||||||
if ($res) {
|
if ($res) {
|
||||||
print STDOUT "update sucessful\n"
|
print STDOUT "update successful\n"
|
||||||
} else {
|
} else {
|
||||||
print STDERR "update failed - see /var/log/pveam.log for details\n"
|
print STDERR "update failed - see /var/log/pveam.log for details\n"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user