mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-10 07:58:32 +01:00
fix linter
This commit is contained in:
parent
154d08c1a0
commit
f7b1a17072
@ -5,7 +5,6 @@ package testutil
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
@ -16,10 +15,6 @@ import (
|
||||
"github.com/testcontainers/testcontainers-go/wait"
|
||||
)
|
||||
|
||||
var (
|
||||
mysqlContainerConfigPath = "../testdata/mysql.cnf"
|
||||
)
|
||||
|
||||
// CreateMysqlTestContainer creates a new MySQL container for testing.
|
||||
func CreateMysqlTestContainer() (func(), error) {
|
||||
ctx := context.Background()
|
||||
@ -83,7 +78,5 @@ func CreatePostgresTestContainer() (func(), error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
fmt.Println("talksConn: ", talksConn)
|
||||
|
||||
return cleanUp, os.Setenv("NETBIRD_STORE_ENGINE_POSTGRES_DSN", talksConn)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user