Skip to content

Commit

Permalink
fix(redis:cli): remove call to resolve ssh2 in bastionConnect function (
Browse files Browse the repository at this point in the history
  • Loading branch information
k80bowman authored Aug 16, 2024
1 parent 3224705 commit d11c18f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/cli/src/commands/redis/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ async function redisCLI(uri: URL, client: Writable): Promise<void> {
async function bastionConnect(uri: URL, bastions: string, config: Record<string, unknown>, preferNativeTls: boolean) {
const tunnel: Client = await new Promise(resolve => {
const ssh2 = new Client()
resolve(ssh2)
ssh2.once('ready', () => resolve(ssh2))
ssh2.connect({
host: bastions.split(',')[0],
Expand Down

0 comments on commit d11c18f

Please sign in to comment.