forked from Mirrors/minio
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