Skip to content

Commit

Permalink
fix: wrong copy paste (#2515)
Browse files Browse the repository at this point in the history
Used that hardcoded string for testing locally
  • Loading branch information
mdelapenya committed Apr 25, 2024
1 parent 441d5b2 commit fa5f304
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion port_forwarding.go
Expand Up @@ -8,6 +8,7 @@ import (
"time"

"github.com/docker/docker/api/types/container"
"github.com/google/uuid"
"golang.org/x/crypto/ssh"

"github.com/testcontainers/testcontainers-go/internal/core/network"
Expand All @@ -25,7 +26,7 @@ const (
)

// sshPassword is a random password generated for the SSHD container.
var sshPassword = "123456"
var sshPassword = uuid.NewString()

// exposeHostPorts performs all the necessary steps to expose the host ports to the container, leveraging
// the SSHD container to create the tunnel, and the container lifecycle hooks to manage the tunnel lifecycle.
Expand Down

0 comments on commit fa5f304

Please sign in to comment.