mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Merge pull request #624 from puppetlabs/fix_timeout_notification_message
(maint) Fix message for timeout notification.
This commit is contained in:
commit
0b419ee8cb
1 changed files with 2 additions and 1 deletions
|
|
@ -144,7 +144,8 @@ module Vmpooler
|
|||
nonexist_warning = if already_timed_out
|
||||
"[!] [#{pool}] '#{vm}' marked as 'failed' after #{timeout} minutes with error: #{open_socket_error}"
|
||||
elsif timing_out_soon
|
||||
"[!] [#{pool}] '#{vm}' no longer exists when attempting to send notification of impending failure"
|
||||
time_remaining = timeout - timeout_notification
|
||||
"[!] [#{pool}] '#{vm}' will be marked as 'failed' in #{time_remaining} minutes with error: #{open_socket_error}"
|
||||
else
|
||||
"[!] [#{pool}] '#{vm}' This error is wholly unexpected"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue