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