PySDK: Fix spelling of X-Keep-Desired-Replicas header.
authorBrett Smith <brett@curoverse.com>
Wed, 22 Jun 2016 13:46:40 +0000 (09:46 -0400)
committerBrett Smith <brett@curoverse.com>
Wed, 22 Jun 2016 13:46:40 +0000 (09:46 -0400)
This matches what Keep services expect, and other clients use.
No issue #.

sdk/python/arvados/keep.py

index 9e9fb00833a20cd3ceb4fc8937a3c6b0bd1724f9..62cc6e1a817d2261bbfcf7a5fe974640aae47b5b 100644 (file)
@@ -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)