Skip to content

Commit

Permalink
fix: update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Aug 28, 2024
1 parent 8cbe4e6 commit 9dfd4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/localstack/localstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func RunContainer(ctx context.Context, opts ...testcontainers.ContainerCustomize
// Run creates an instance of the LocalStack container type
// - 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.
func Run(ctx context.Context, img string, opts ...testcontainers.ContainerCustomizer) (*LocalStackContainer, error) {
dockerHost := testcontainers.MustExtractDockerSocket()
dockerHost := testcontainers.MustExtractDockerSocket(ctx)

req := testcontainers.ContainerRequest{
Image: img,
Expand Down

0 comments on commit 9dfd4fb

Please sign in to comment.