mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Move online status to REST client (#9808)
This commit is contained in:
@@ -29,7 +29,7 @@ func TestLockRESTlient(t *testing.T) {
|
||||
t.Fatalf("unexpected error %v", err)
|
||||
}
|
||||
lkClient := newlockRESTClient(endpoint)
|
||||
if lkClient.connected == 0 {
|
||||
if !lkClient.IsOnline() {
|
||||
t.Fatalf("unexpected error. connection failed")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user