[ARVADOS] updated: 2.1.0-663-gc41f3b2cb

Git user git at public.arvados.org
Fri Apr 16 15:21:12 UTC 2021


Summary of changes:
 sdk/go/keepclient/keepclient.go | 3 ---
 1 file changed, 3 deletions(-)

       via  c41f3b2cb785a2d648e8f7746891eb63e345323b (commit)
      from  123e39f45192118a1e84629bf94a3a7db2bd5014 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit c41f3b2cb785a2d648e8f7746891eb63e345323b
Author: Nico Cesar <nico at nicocesar.com>
Date:   Fri Apr 16 11:20:45 2021 -0400

    No need to have this logic in sdk/go/keepclient/keepclient.go
    
    Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico at curii.com>

diff --git a/sdk/go/keepclient/keepclient.go b/sdk/go/keepclient/keepclient.go
index d92e8886f..454181265 100644
--- a/sdk/go/keepclient/keepclient.go
+++ b/sdk/go/keepclient/keepclient.go
@@ -122,9 +122,6 @@ type KeepClient struct {
 // DiscoverKeepServices(), and returns when the client is ready to
 // use.
 func MakeKeepClient(arv *arvadosclient.ArvadosClient) (*KeepClient, error) {
-	if arv.ApiServer == "" {
-		return nil, fmt.Errorf("Arvados client is not configured (target API host is not set). Maybe env var ARVADOS_API_HOST should be set first?")
-	}
 	kc := New(arv)
 	return kc, kc.discoverServices()
 }

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list