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 7dfaf1a commit 9113c16Copy full SHA for 9113c16
packages/client/lib/client/index.ts
@@ -747,10 +747,9 @@ export default class RedisClient<
747
const socket = this.#options.socket;
748
assert(socket !== undefined);
749
const { tls, host } = socket as RedisTcpSocketOptions;
750
- assert(tls !== undefined);
751
assert(host !== undefined);
752
commands.push({
753
- cmd: await EnterpriseMaintenanceManager.getHandshakeCommand(tls, host),
+ cmd: await EnterpriseMaintenanceManager.getHandshakeCommand(!!tls, host),
754
errorHandler: (err: Error) => {
755
dbgMaintenance("Maintenance handshake failed: ", err);
756
}
0 commit comments