[ARVADOS] updated: 995af457bf39bfa82556a6f565efd30263a98415

git at public.curoverse.com git at public.curoverse.com
Fri Mar 13 11:11:01 EDT 2015


Summary of changes:
 services/keepstore/keepstore.go | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

       via  995af457bf39bfa82556a6f565efd30263a98415 (commit)
      from  40d04a669958fb777f4cf4a93ae7e21d101a438f (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 995af457bf39bfa82556a6f565efd30263a98415
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Fri Mar 13 10:54:23 2015 -0400

    3761: We do not need to MakeArvadosClient to create the pullq worker. Otherwise, we need the ARVADOS_API_HOST env variable in keep.

diff --git a/services/keepstore/keepstore.go b/services/keepstore/keepstore.go
index 1e8c3d1..e07b077 100644
--- a/services/keepstore/keepstore.go
+++ b/services/keepstore/keepstore.go
@@ -13,7 +13,6 @@ import (
 	"strings"
 	"syscall"
 	"time"
-	"git.curoverse.com/arvados.git/sdk/go/arvadosclient"
 	"git.curoverse.com/arvados.git/sdk/go/keepclient"
 )
 
@@ -277,14 +276,11 @@ func main() {
 	}
 
 	// Initialize Pull queue and worker
-	arv, err := arvadosclient.MakeArvadosClient()
-	if err != nil {
-		log.Fatalf("Error setting up arvados client %s", err.Error())
-	}
-
-	keepClient, err := keepclient.MakeKeepClient(&arv)
-	if err != nil {
-		log.Fatalf("Error setting up keep client %s", err.Error())
+	keepClient = keepclient.KeepClient{
+		Arvados:       nil,
+		Want_replicas: 1,
+		Using_proxy:   true,
+		Client:        &http.Client{},
 	}
 
 	pullq = NewWorkQueue()

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list