From 8f6c59a846b13e715f9f84c64a77defa52551558 Mon Sep 17 00:00:00 2001 From: Ivo Yankov Date: Thu, 3 Oct 2024 12:13:27 +0300 Subject: [PATCH] fix: undefined property Signed-off-by: Ivo Yankov --- src/commands/node/tasks.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/node/tasks.mjs b/src/commands/node/tasks.mjs index afefca87e..bf3c1fec3 100644 --- a/src/commands/node/tasks.mjs +++ b/src/commands/node/tasks.mjs @@ -316,7 +316,7 @@ export class NodeCommandTasks { config.existingNodeAliases = [] config.serviceMap = await this.accountManager.getNodeServiceMap(config.namespace) for (/** @type {NetworkNodeServices} **/ const networkNodeServices of config.serviceMap.values()) { - config.existingNodeAliases.push(networkNodeServices.nodeName) + config.existingNodeAliases.push(networkNodeServices.nodeAlias) } config.allNodeAliases = [...config.existingNodeAliases] return this.taskCheckNetworkNodePods(ctx, task, config.existingNodeAliases)