Skip to content

Commit 4d282a9

Browse files
committed
just revert all the testcontianers-go network stuff and ignore the one file from the troublesome linter (see golangci/golangci-lint#741)
1 parent 75fe927 commit 4d282a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/testutils/container.go

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//lint:ignore SA1019
16+
1517
package testutils
1618

1719
import (
@@ -484,6 +486,7 @@ func (container *Container) createNetworksIfNecessary(req testcontainers.Generic
484486
return err
485487
}
486488
for _, networkName := range container.ContainerNetworks {
489+
//nolint:staticcheck
487490
query := testcontainers.NetworkRequest{
488491
Name: networkName,
489492
}
@@ -492,6 +495,7 @@ func (container *Container) createNetworksIfNecessary(req testcontainers.Generic
492495
return err
493496
}
494497
if networkResource.Name != networkName {
498+
//nolint:staticcheck
495499
create := testcontainers.NetworkRequest{
496500
Driver: "bridge",
497501
Name: networkName,

0 commit comments

Comments
 (0)