We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df5d555 commit 8b24251Copy full SHA for 8b24251
packages/client/lib/client/index.ts
@@ -766,10 +766,9 @@ export default class RedisClient<
766
const socket = this.#options.socket;
767
assert(socket !== undefined);
768
const { tls, host } = socket as RedisTcpSocketOptions;
769
- assert(tls !== undefined);
770
assert(host !== undefined);
771
commands.push({
772
- cmd: await EnterpriseMaintenanceManager.getHandshakeCommand(tls, host),
+ cmd: await EnterpriseMaintenanceManager.getHandshakeCommand(!!tls, host),
773
errorHandler: (err: Error) => {
774
dbgMaintenance("Maintenance handshake failed: ", err);
775
}
0 commit comments