mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 13:40:22 +03:00
re-use remote transports in Peer,Storage,Locker clients (#10788)
use one transport for internode communication
This commit is contained in:
@@ -29,6 +29,7 @@ func TestLockRESTlient(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("unexpected error %v", err)
|
||||
}
|
||||
|
||||
lkClient := newlockRESTClient(endpoint)
|
||||
if !lkClient.IsOnline() {
|
||||
t.Fatalf("unexpected error. connection failed")
|
||||
|
||||
Reference in New Issue
Block a user