diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2025-10-17 22:11:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-17 22:11:50 -0700 |
| commit | 97f30287821e1c49b816f2e4c05be46728b06a0b (patch) | |
| tree | 1169d6e45c06698fc4081b8cfc27f2d4d2e98684 /test/erasure_coding/ec_integration_test.go | |
| parent | 8d63a9cf5f011baa4b86372b4f28b7179b9dc9cb (diff) | |
| download | seaweedfs-97f30287821e1c49b816f2e4c05be46728b06a0b.tar.xz seaweedfs-97f30287821e1c49b816f2e4c05be46728b06a0b.zip | |
Clean up logs and deprecated functions (#7339)
* less logs
* fix deprecated grpc.Dial
Diffstat (limited to 'test/erasure_coding/ec_integration_test.go')
| -rw-r--r-- | test/erasure_coding/ec_integration_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/erasure_coding/ec_integration_test.go b/test/erasure_coding/ec_integration_test.go index 8cdd4210b..81cb89678 100644 --- a/test/erasure_coding/ec_integration_test.go +++ b/test/erasure_coding/ec_integration_test.go @@ -473,7 +473,7 @@ func findWeedBinary() string { func waitForServer(address string, timeout time.Duration) error { start := time.Now() for time.Since(start) < timeout { - if conn, err := grpc.Dial(address, grpc.WithInsecure()); err == nil { + if conn, err := grpc.NewClient(address, grpc.WithInsecure()); err == nil { conn.Close() return nil } |
