mirror of https://gitee.com/bigwinds/arangodb
fixed jslint warning
This commit is contained in:
parent
eeedb022d0
commit
684bc82a5f
|
@ -653,13 +653,13 @@ actions.defineHttp({
|
||||||
|
|
||||||
if (cluster.isCoordinator() && !req.parameters.hasOwnProperty("DBserver")) {
|
if (cluster.isCoordinator() && !req.parameters.hasOwnProperty("DBserver")) {
|
||||||
filterString += " filter u.clusterId == @serverId";
|
filterString += " filter u.clusterId == @serverId";
|
||||||
bind["serverId"] = cluster.coordinatorId();
|
bind.serverId = cluster.coordinatorId();
|
||||||
}
|
}
|
||||||
|
|
||||||
var returnValue = " return u";
|
var returnValue = " return u";
|
||||||
if (figures) {
|
if (figures) {
|
||||||
returnValue = " return {name: @name, time : u.time, server : {uptime : u.server.uptime} ";
|
returnValue = " return {name: @name, time : u.time, server : {uptime : u.server.uptime} ";
|
||||||
bind["name"] = DBserver || "";
|
bind.name = DBserver || "";
|
||||||
|
|
||||||
var groups = {};
|
var groups = {};
|
||||||
figures.forEach(function(f) {
|
figures.forEach(function(f) {
|
||||||
|
|
Loading…
Reference in New Issue