mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
* Use 0 as the default for shard count if the node is not found * Remove debug * Updating snapshot tests * Update api integration test
This commit is contained in:
parent
3014a0cc1e
commit
b96fed31c8
4 changed files with 5 additions and 5 deletions
|
@ -151,7 +151,7 @@ Array [
|
|||
},
|
||||
},
|
||||
"resolver": "_x_V2YzPQU-a9KRRBxUxZQ",
|
||||
"shardCount": null,
|
||||
"shardCount": 0,
|
||||
"transport_address": "127.0.0.1:9300",
|
||||
"type": "master",
|
||||
},
|
||||
|
@ -260,7 +260,7 @@ Array [
|
|||
},
|
||||
},
|
||||
"resolver": "DAiX7fFjS3Wii7g2HYKrOg",
|
||||
"shardCount": null,
|
||||
"shardCount": 0,
|
||||
"transport_address": "127.0.0.1:9301",
|
||||
"type": "node",
|
||||
},
|
||||
|
|
|
@ -16,7 +16,7 @@ Object {
|
|||
"name": "node02",
|
||||
"nodeTypeClass": "fa-server",
|
||||
"nodeTypeLabel": "Node",
|
||||
"shardCount": null,
|
||||
"shardCount": 0,
|
||||
"transport_address": "127.0.0.1:9301",
|
||||
"type": "node",
|
||||
},
|
||||
|
|
|
@ -35,7 +35,7 @@ export function mapNodesInfo(nodeHits, clusterStats, shardStats) {
|
|||
isOnline,
|
||||
nodeTypeLabel: nodeTypeLabel,
|
||||
nodeTypeClass: nodeTypeClass,
|
||||
shardCount: get(shardStats, `nodes[${sourceNode.uuid}].shardCount`, null),
|
||||
shardCount: get(shardStats, `nodes[${sourceNode.uuid}].shardCount`, 0),
|
||||
}
|
||||
};
|
||||
}, {});
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
"nodeTypeClass": "fa-server",
|
||||
"nodeTypeLabel": "Node",
|
||||
"resolver": "1jxg5T33TWub-jJL4qP0Wg",
|
||||
"shardCount": null,
|
||||
"shardCount": 0,
|
||||
"transport_address": "127.0.0.1:9302",
|
||||
"type": "node"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue