Skip to content

Commit 5e2d2a0

Browse files
committed
Fix issues after merge
1 parent cb5831d commit 5e2d2a0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/client/lib/client/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,9 +774,8 @@ export default class RedisClient<
774774
commands.push({cmd: ['CLIENT', 'TRACKING', 'ON']});
775775
}
776776

777-
const { tls, host } = this.#options!.socket as RedisTcpSocketOptions;
778-
const maintenanceHandshakeCmd = await EnterpriseMaintenanceManager.getHandshakeCommand(!!tls, host!, this.#options!);
779777
const maintenanceHandshakeCmd = await EnterpriseMaintenanceManager.getHandshakeCommand(this.#options);
778+
780779
if(maintenanceHandshakeCmd) {
781780
commands.push(maintenanceHandshakeCmd);
782781
};

0 commit comments

Comments
 (0)