Log the correct command_timeout value
For the no-retry_actions we need to log the correct, longer, timeout. Change-Id: I035c1eee84f0db5f04e3b63f8bb12a13738d4327
This commit is contained in:
parent
0c7003c37a
commit
adb0b1d012
|
@ -50,7 +50,7 @@ class Puppet::Provider::Openstack < Puppet::Provider
|
|||
openstack_command *args
|
||||
end
|
||||
rescue Timeout::Error
|
||||
raise Puppet::ExecutionFailure, "Command: 'openstack #{args.inspect}' has been running for more then #{command_timeout} seconds!"
|
||||
raise Puppet::ExecutionFailure, "Command: 'openstack #{args.inspect}' has been running for more then #{command_timeout(action)} seconds!"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue