found another place to refactor

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2020-09-29 10:24:13 -04:00
1 parent 98835758c4
commit a803ab5436
1 file changed
+1 -2
@@ -12,8 +12,7 @@ export class ReplicaSetStore extends KubeObjectStore<ReplicaSet> {
async loadMetrics(replicaSet: ReplicaSet) {
const pods = this.getChildPods(replicaSet);
const metrics = await podsApi.getMetrics(pods, replicaSet.getNs(), "");
return this.metrics = metrics;
this.metrics = await podsApi.getMetrics(pods, replicaSet.getNs(), "");
}
getChildPods(replicaSet: ReplicaSet) {