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

fix spelling errors

parent bb56bde9
......@@ -1003,13 +1003,13 @@ my $create_stop_worker = sub {
if ($type eq 'openvz') {
return if !PVE::OpenVZ::check_running($vmid);
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,
timeout => $timeout, forceStop => 1 });
} elsif ($type eq 'qemu') {
return if !PVE::QemuServer::check_running($vmid, 1);
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,
timeout => $timeout, forceStop => 1 });
} else {
......
......@@ -132,7 +132,7 @@ __PACKAGE__->register_method ({
next if $vzlist->{$vmid}->{status} ne 'running'; # not running
eval {
print STDERR "Stoping CT $vmid\n";
print STDERR "Stopping CT $vmid\n";
# Set fairsched parameters to maximum so CT will stop fast
# 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