mirror of https://gitee.com/bigwinds/arangodb
Fixed bug in agency communication. Discrepancy with Agency content
This commit is contained in:
parent
eeca60897a
commit
6a0d219bd5
|
@ -317,6 +317,9 @@ exports.Communication = function() {
|
|||
};
|
||||
this.getShards = function() {
|
||||
var info = this.info();
|
||||
if (!info) {
|
||||
return;
|
||||
}
|
||||
return info.shards;
|
||||
};
|
||||
this.getShardsForServer = function(name) {
|
||||
|
|
Loading…
Reference in New Issue