From 0ba145115071473ba46a3fac30c2dc98b74f49ad Mon Sep 17 00:00:00 2001 From: radhika Date: Fri, 25 Sep 2015 12:13:25 -0400 Subject: [PATCH] 7162: Removed the call to get keep_disks when there is an error getting keep_services, since keep_services has been available since May 2014, #2776 according to Tom. --- sdk/go/keepclient/support.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sdk/go/keepclient/support.go b/sdk/go/keepclient/support.go index ee308dd0d4..63800b1e08 100644 --- a/sdk/go/keepclient/support.go +++ b/sdk/go/keepclient/support.go @@ -85,12 +85,8 @@ func (this *KeepClient) DiscoverKeepServers() error { // Get keep services from api server err := this.Arvados.Call("GET", "keep_services", "", "accessible", nil, &m) - - // If there is error getting keep services, get list of keep disks if err != nil { - if err := this.Arvados.List("keep_disks", nil, &m); err != nil { - return err - } + return err } listed := make(map[string]bool) -- 2.30.2