[ARVADOS] updated: 4744bcbfe19d352daa915a4249aacd4ccabaa505

Git user git at public.curoverse.com
Wed Jun 22 09:46:47 EDT 2016


Summary of changes:
 sdk/python/arvados/keep.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  4744bcbfe19d352daa915a4249aacd4ccabaa505 (commit)
      from  8bb8e4cfe39e6b44142adca4721ba29467376e1d (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 4744bcbfe19d352daa915a4249aacd4ccabaa505
Author: Brett Smith <brett at curoverse.com>
Date:   Wed Jun 22 09:46:40 2016 -0400

    PySDK: Fix spelling of X-Keep-Desired-Replicas header.
    
    This matches what Keep services expect, and other clients use.
    No issue #.

diff --git a/sdk/python/arvados/keep.py b/sdk/python/arvados/keep.py
index 9e9fb00..62cc6e1 100644
--- a/sdk/python/arvados/keep.py
+++ b/sdk/python/arvados/keep.py
@@ -1054,7 +1054,7 @@ class KeepClient(object):
 
         headers = {}
         # Tell the proxy how many copies we want it to store
-        headers['X-Keep-Desired-Replication'] = str(copies)
+        headers['X-Keep-Desired-Replicas'] = str(copies)
         roots_map = {}
         loop = retry.RetryLoop(num_retries, self._check_loop_result,
                                backoff_start=2)

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list