[ARVADOS] updated: 46b2b9208c6f20c54938ca2312fa56a7f3147472
git at public.curoverse.com
git at public.curoverse.com
Thu May 14 12:40:04 EDT 2015
Summary of changes:
sdk/go/keepclient/keepclient_test.go | 3 +--
sdk/go/keepclient/support.go | 1 +
2 files changed, 2 insertions(+), 2 deletions(-)
via 46b2b9208c6f20c54938ca2312fa56a7f3147472 (commit)
from 0aaa4681a5ad936aeaa08b9b30b167d9f7cac7cc (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 46b2b9208c6f20c54938ca2312fa56a7f3147472
Author: Radhika Chippada <radhika at curoverse.com>
Date: Thu May 14 12:39:42 2015 -0400
4717: just a couple minor tweaks
diff --git a/sdk/go/keepclient/keepclient_test.go b/sdk/go/keepclient/keepclient_test.go
index 5bd540a..e22ffe0 100644
--- a/sdk/go/keepclient/keepclient_test.go
+++ b/sdk/go/keepclient/keepclient_test.go
@@ -620,8 +620,7 @@ func (s *StandaloneSuite) TestGetWithServiceHintFailoverToLocals(c *C) {
kc.SetServiceRoots(
map[string]string{"zzzzz-bi6l4-keepdisk0000000": ksLocal.url},
map[string]string{uuid: ksGateway.url},
- map[string]string{"zzzzz-bi6l4-keepdisk0000000": ksLocal.url},
- )
+ map[string]string{"zzzzz-bi6l4-keepdisk0000000": ksLocal.url})
r, n, uri, err := kc.Get(hash + "+K@" + uuid)
c.Assert(err, Equals, nil)
diff --git a/sdk/go/keepclient/support.go b/sdk/go/keepclient/support.go
index 776cb23..b989c5d 100644
--- a/sdk/go/keepclient/support.go
+++ b/sdk/go/keepclient/support.go
@@ -220,6 +220,7 @@ func (this KeepClient) putReplicas(
// Calculate the ordering for uploading to servers
sv := NewRootSorter(this.WritableRoots(), hash).GetSortedRoots()
+
// The next server to try contacting
next_server := 0
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list