1
0
Fork 0

Improve error reporting in arangosh with kickstarter.

This commit is contained in:
Max Neunhoeffer 2014-02-12 09:36:35 +01:00
parent be319498f7
commit 733e94ad0a
1 changed files with 0 additions and 7 deletions

View File

@ -68,7 +68,6 @@ Kickstarter.prototype.launch = function () {
JSON.stringify({"action": "launch",
"clusterPlan": this.clusterPlan,
"myname": this.myname}));
arangosh.checkRequestResult(r);
this.runInfo = r.runInfo;
return r;
};
@ -80,7 +79,6 @@ Kickstarter.prototype.shutdown = function () {
"clusterPlan": this.clusterPlan,
"myname": this.myname,
"runInfo": this.runInfo}));
arangosh.checkRequestResult(r);
return r;
};
@ -90,7 +88,6 @@ Kickstarter.prototype.relaunch = function () {
JSON.stringify({"action": "relaunch",
"clusterPlan": this.clusterPlan,
"myname": this.myname}));
arangosh.checkRequestResult(r);
this.runInfo = r.runInfo;
return r;
};
@ -101,7 +98,6 @@ Kickstarter.prototype.cleanup = function () {
JSON.stringify({"action": "cleanup",
"clusterPlan": this.clusterPlan,
"myname": this.myname}));
arangosh.checkRequestResult(r);
return r;
};
@ -112,15 +108,12 @@ Kickstarter.prototype.isHealthy = function () {
"clusterPlan": this.clusterPlan,
"myname": this.myname,
"runInfo": this.runInfo}));
arangosh.checkRequestResult(r);
return r;
};
exports.Planner = Planner;
exports.Kickstarter = Kickstarter;
// -----------------------------------------------------------------------------
// --SECTION-- END-OF-FILE
// -----------------------------------------------------------------------------