@@ -36,7 +36,11 @@ func (o *ContainerOpts) Setup(opts ...ContainerOption) {
3636 }
3737}
3838
39- func (o * ContainerOpts ) Configure (ctx context.Context , ntwk * testcontainers.DockerNetwork , containerRequest * testcontainers.ContainerRequest ) {
39+ func (o * ContainerOpts ) Configure (
40+ ctx context.Context ,
41+ ntwk * testcontainers.DockerNetwork ,
42+ containerRequest * testcontainers.ContainerRequest ,
43+ ) {
4044 if o .EnableLogging {
4145 containerRequest .LogConsumerCfg = LogConfig (ctx , o .LoggingTimeout )
4246 }
@@ -53,11 +57,13 @@ func (o *ContainerOpts) Configure(ctx context.Context, ntwk *testcontainers.Dock
5357 ntwk .Name : o .NetworkAliases ,
5458 }
5559 }
56-
5760}
5861
59- func (o * ContainerOpts ) ConfigurationExtend (ctx context.Context , ntwk * testcontainers.DockerNetwork , containerCustomize ... testcontainers.ContainerCustomizer ) []testcontainers.ContainerCustomizer {
60-
62+ func (o * ContainerOpts ) ConfigurationExtend (
63+ ctx context.Context ,
64+ ntwk * testcontainers.DockerNetwork ,
65+ containerCustomize ... testcontainers.ContainerCustomizer ,
66+ ) []testcontainers.ContainerCustomizer {
6167 if o .EnableLogging {
6268 containerCustomize = append (
6369 containerCustomize ,
@@ -71,7 +77,6 @@ func (o *ContainerOpts) ConfigurationExtend(ctx context.Context, ntwk *testconta
7177 hostConfig .NetworkMode = HostNetworkingMode
7278 }))
7379 } else {
74-
7580 containerCustomize = append (containerCustomize ,
7681 testcontainers .WithExposedPorts (o .Port ),
7782 network .WithNetwork ([]string {ntwk .Name }, ntwk ),
0 commit comments