mirror of https://gitee.com/bigwinds/arangodb
don't fail
This commit is contained in:
parent
db9e3d1360
commit
065d1bfa9a
|
@ -1061,7 +1061,9 @@ function _install(serviceInfo, mount, options, runSetup) {
|
||||||
},
|
},
|
||||||
action() {
|
action() {
|
||||||
var definition = collection.firstExample({mount: mount});
|
var definition = collection.firstExample({mount: mount});
|
||||||
collection.remove(definition._key);
|
if (definition !== null) {
|
||||||
|
collection.remove(definition._key);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue