1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

bug #3936: Define action obj for shutdown action

This commit is contained in:
Daniel Molina 2015-08-20 12:09:08 +02:00
parent 12618b91b0
commit 43931e902d

View File

@ -316,7 +316,8 @@ define(function(require) {
OpenNebulaAction.simple_action(params, RESOURCE, "chmod", action_obj);
},
"shutdown": function(params) {
OpenNebulaAction.simple_action(params, RESOURCE, "shutdown");
var action_obj = {"hard": false};
OpenNebulaAction.simple_action(params, RESOURCE, "shutdown", action_obj);
},
"shutdown_hard" : function(params) {
var action_obj = {"hard": true};