mirror of https://gitee.com/bigwinds/arangodb
do not pass string "undefined" as cluster id
This commit is contained in:
parent
3b0a8a9cdf
commit
1c84b7bac1
|
@ -742,7 +742,10 @@
|
|||
}
|
||||
|
||||
if (self.server !== '-local-') {
|
||||
urlParams += '&type=short&DBserver=' + self.serverInfo.target;
|
||||
urlParams += '&type=short';
|
||||
if (self.serverInfo.target) {
|
||||
urlParams += '&DBserver=' + self.serverInfo.target;
|
||||
}
|
||||
|
||||
if (!self.history.hasOwnProperty(self.server)) {
|
||||
self.history[self.server] = {};
|
||||
|
|
Loading…
Reference in New Issue