Skip to content

Commit deb1fbd

Browse files
committed
Fix lint
1 parent 37cb2c5 commit deb1fbd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

modules/mongodb/mongodb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (c *MongoDBContainer) ConnectionString(ctx context.Context) (string, error)
130130
u := url.URL{
131131
Scheme: "mongodb",
132132
Host: net.JoinHostPort(host, port.Port()),
133-
Path: "/",
133+
Path: "/",
134134
}
135135

136136
if c.username != "" && c.password != "" {

modules/mongodb/mongodb_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919

2020
func localNonLoopbackIP() (string, error) {
2121
interfaces, err := net.Interfaces()
22-
2322
if err != nil {
2423
return "", fmt.Errorf("list network interfaces: %w", err)
2524
}

0 commit comments

Comments
 (0)