Commit f9702be7 authored by Tristan Cavelier's avatar Tristan Cavelier

sub storage creation bug fixed

parent d5c91fad
...@@ -58,9 +58,7 @@ function enableJobMaker(jio, shared, options) { ...@@ -58,9 +58,7 @@ function enableJobMaker(jio, shared, options) {
shared.emit('jobNotify', param, arguments); shared.emit('jobNotify', param, arguments);
}; };
param.command.storage = function () { param.command.storage = function () {
if (param.state === 'running') { return shared.createRestApi.apply(null, arguments);
shared.createRestApi.apply(null, arguments);
}
}; };
param.modified = new Date(); param.modified = new Date();
shared.emit('job', param); 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