Commit 82bc21e2 authored by Stephen Shirley's avatar Stephen Shirley
Browse files

Set startup_paused to False when restarting

This fixes the lint error:

E1120:1220:InstanceReboot: No value passed for parameter
'startup_paused' in function call
Signed-off-by: default avatarStephen Shirley <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 424ec11d
......@@ -1217,7 +1217,7 @@ def InstanceReboot(instance, reboot_type, shutdown_timeout):
elif reboot_type == constants.INSTANCE_REBOOT_HARD:
InstanceShutdown(instance, shutdown_timeout)
return StartInstance(instance)
return StartInstance(instance, False)
except errors.HypervisorError, err:
_Fail("Failed to hard reboot instance %s: %s",, err)
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