mirror of https://gitee.com/bigwinds/arangodb
jslint
This commit is contained in:
parent
82a43bfca7
commit
64f55422ce
|
@ -396,7 +396,7 @@ function createLocalDatabases (plannedDatabases, currentDatabases, writeLocked)
|
|||
writeLocked({ part: "Current" },
|
||||
createDatabaseAgency,
|
||||
[ payload ]);
|
||||
} else if (typeof currentDatabases[name] != 'object' || !currentDatabases[name].hasOwnProperty(ourselves)) {
|
||||
} else if (typeof currentDatabases[name] !== 'object' || !currentDatabases[name].hasOwnProperty(ourselves)) {
|
||||
// mop: ok during cluster startup we have this buggy situation where a dbserver
|
||||
// has a database but has not yet announced it to the agency :S
|
||||
writeLocked({ part: "Current" },
|
||||
|
|
Loading…
Reference in New Issue