1
0
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:
Alejandro Huertas Herrero 2021-05-05 10:52:41 +02:00 committed by Ruben S. Montero
parent 246dde2627
commit 6dfedc0b72
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -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)