mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #-: fix minor bug in VM CLI charters (#1182)
(cherry picked from commit c1770856f9e0bcc0642d15c0153cbcd7bae2c3c5)
This commit is contained in:
parent
246dde2627
commit
6dfedc0b72
@ -1375,7 +1375,7 @@ CommandParser::CmdParser.new(ARGV) do
|
||||
charters.each do |action, time|
|
||||
sched = "+#{time[:time].to_i + acc_t}"
|
||||
|
||||
helper.schedule_actions(args[0],
|
||||
helper.schedule_actions([args[0]].flatten,
|
||||
{ :schedule => sched },
|
||||
action.to_s,
|
||||
time[:warning][:time] + acc_w)
|
||||
|
Loading…
x
Reference in New Issue
Block a user