Cherry Pick bug fixes from v5.5.0-beta.2 (#5429)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-05-25 09:00:37 -04:00
1 parent a61a455fad
commit d09816aacf
5 files changed
+86 -13

No files matched your search

+2 -2
View File
@@ -19,11 +19,11 @@ export class NodeStore extends KubeObjectStore<Node, NodeApi> {
}
@computed get masterNodes() {
return this.items.filter(node => node.getRoleLabels().includes("master"));
return this.items.filter(node => node.isMasterNode());
}
@computed get workerNodes() {
return this.items.filter(node => !node.getRoleLabels().includes("master"));
return this.items.filter(node => !node.isMasterNode());
}
getWarningsCount(): number {