diff --git a/modules/mongodb/mongodb.go b/modules/mongodb/mongodb.go index edb0fa61b1..8acbf98ee2 100644 --- a/modules/mongodb/mongodb.go +++ b/modules/mongodb/mongodb.go @@ -11,10 +11,8 @@ import ( "github.com/testcontainers/testcontainers-go/wait" ) -var ( - //go:embed mount/entrypoint-tc.sh - entrypointContent []byte -) +//go:embed mount/entrypoint-tc.sh +var entrypointContent []byte const ( entrypointPath = "/tmp/entrypoint-tc.sh"