Commit cd88465d authored by Tristan Cavelier's avatar Tristan Cavelier

sub storage creation bug fixed

parent 28c4fcbb
......@@ -58,9 +58,7 @@ function enableJobMaker(jio, shared, options) {
shared.emit('jobNotify', param, arguments);
};
param.command.storage = function () {
if (param.state === 'running') {
shared.createRestApi.apply(null, arguments);
}
return shared.createRestApi.apply(null, arguments);
};
param.modified = new Date();
shared.emit('job', param);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment