Skip to content

Commit 9dfd4fb

Browse files
committed
fix: update usage
1 parent 8cbe4e6 commit 9dfd4fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/localstack/localstack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func RunContainer(ctx context.Context, opts ...testcontainers.ContainerCustomize
7474
// Run creates an instance of the LocalStack container type
7575
// - overrideReq: a function that can be used to override the default container request, usually used to set the image version, environment variables for localstack, etc.
7676
func Run(ctx context.Context, img string, opts ...testcontainers.ContainerCustomizer) (*LocalStackContainer, error) {
77-
dockerHost := testcontainers.MustExtractDockerSocket()
77+
dockerHost := testcontainers.MustExtractDockerSocket(ctx)
7878

7979
req := testcontainers.ContainerRequest{
8080
Image: img,

0 commit comments

Comments
 (0)