mirror of https://gitee.com/bigwinds/arangodb
jslint
This commit is contained in:
parent
d3e3ebf86e
commit
5a1fe3a341
|
@ -703,7 +703,7 @@ actions.defineHttp({
|
||||||
if (e.code === 412) {
|
if (e.code === 412) {
|
||||||
let oldValue = ArangoAgency.get('Plan/DBServers/' + body.primary);
|
let oldValue = ArangoAgency.get('Plan/DBServers/' + body.primary);
|
||||||
actions.resultError(req, res, actions.HTTP_PRECONDITION_FAILED, 0,
|
actions.resultError(req, res, actions.HTTP_PRECONDITION_FAILED, 0,
|
||||||
'Could not change primary to secondary.')
|
'Could not change primary to secondary.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
throw e;
|
throw e;
|
||||||
|
|
Loading…
Reference in New Issue