Commit 331c0fe6 authored by Dietmar Maurer's avatar Dietmar Maurer

fix spelling errors

parent bb56bde9
...@@ -1003,13 +1003,13 @@ my $create_stop_worker = sub { ...@@ -1003,13 +1003,13 @@ my $create_stop_worker = sub {
if ($type eq 'openvz') { if ($type eq 'openvz') {
return if !PVE::OpenVZ::check_running($vmid); return if !PVE::OpenVZ::check_running($vmid);
my $timeout = defined($down_timeout) ? int($down_timeout) : 60; my $timeout = defined($down_timeout) ? int($down_timeout) : 60;
print STDERR "Stoping CT $vmid (timeout = $timeout seconds)\n"; print STDERR "Stopping CT $vmid (timeout = $timeout seconds)\n";
$upid = PVE::API2::OpenVZ->vm_shutdown({node => $nodename, vmid => $vmid, $upid = PVE::API2::OpenVZ->vm_shutdown({node => $nodename, vmid => $vmid,
timeout => $timeout, forceStop => 1 }); timeout => $timeout, forceStop => 1 });
} elsif ($type eq 'qemu') { } elsif ($type eq 'qemu') {
return if !PVE::QemuServer::check_running($vmid, 1); return if !PVE::QemuServer::check_running($vmid, 1);
my $timeout = defined($down_timeout) ? int($down_timeout) : 60*3; my $timeout = defined($down_timeout) ? int($down_timeout) : 60*3;
print STDERR "Stoping VM $vmid (timeout = $timeout seconds)\n"; print STDERR "Stopping VM $vmid (timeout = $timeout seconds)\n";
$upid = PVE::API2::Qemu->vm_shutdown({node => $nodename, vmid => $vmid, $upid = PVE::API2::Qemu->vm_shutdown({node => $nodename, vmid => $vmid,
timeout => $timeout, forceStop => 1 }); timeout => $timeout, forceStop => 1 });
} else { } else {
......
...@@ -132,7 +132,7 @@ __PACKAGE__->register_method ({ ...@@ -132,7 +132,7 @@ __PACKAGE__->register_method ({
next if $vzlist->{$vmid}->{status} ne 'running'; # not running next if $vzlist->{$vmid}->{status} ne 'running'; # not running
eval { eval {
print STDERR "Stoping CT $vmid\n"; print STDERR "Stopping CT $vmid\n";
# Set fairsched parameters to maximum so CT will stop fast # Set fairsched parameters to maximum so CT will stop fast
# ignore any errors # ignore any errors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment