Skip to content

Commit

Permalink
remove testSocketConnection calls
Browse files Browse the repository at this point in the history
Signed-off-by: Jeromy Cannon <[email protected]>
  • Loading branch information
jeromy-cannon committed Dec 23, 2024
1 parent f5050fd commit 70137f4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/account_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ export class AccountManager {
const host = networkNodeService.haProxyLoadBalancerIp as string;
const targetPort = port;
try {
await this.k8.testSocketConnection(host, targetPort);
obj[`${host}:${targetPort}`] = accountId;
await this.pingNetworkNode(obj, accountId);
this.logger.debug(`using load balancer IP: ${host}:${targetPort}`);
Expand All @@ -312,8 +311,6 @@ export class AccountManager {
this._portForwards.push(await this.k8.portForward(networkNodeService.haProxyPodName, localPort, port));
}

await this.k8.testSocketConnection(host, targetPort);

this.logger.debug(`using local host port forward: ${host}:${targetPort}`);
obj[`${host}:${targetPort}`] = accountId;

Expand Down

0 comments on commit 70137f4

Please sign in to comment.