summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Freudberg <jeremyfreudberg@gmail.com>2018-01-02 00:19:53 +0000
committerJeremy Freudberg <jeremyfreudberg@gmail.com>2018-01-02 00:19:53 +0000
commit44ecbf55c7aca7c783aa2e6a180379c089c47dc3 (patch)
tree0d6dd8f4cb0306732027d2cb7d572eb7f6db8a6f
parentb94d703a44887a0d820a8e9f23c5a60d17e2e333 (diff)
downloadpython-saharaclient-44ecbf55c7aca7c783aa2e6a180379c089c47dc3.tar.gz
Fix misleading docstring
In I3683fce981a7d1812d08f3545e9a8b1d8ebb6ec1 we incorrectly indentified the necessary key `user` as `username`. Change-Id: Ib6e90a9187024d7ffd02a8f011d7ad0f759ef733
-rw-r--r--saharaclient/api/job_binaries.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/saharaclient/api/job_binaries.py b/saharaclient/api/job_binaries.py
index 2a49154..2519281 100644
--- a/saharaclient/api/job_binaries.py
+++ b/saharaclient/api/job_binaries.py
@@ -28,8 +28,8 @@ class JobBinariesManager(base.ResourceManager):
"""Create a Job Binary.
:param dict extra: authentication info needed for some job binaries,
- containing the keys `username` and `password` for job binary in
- Swift or the keys `accesskey`, `secretkey`, and `endpoint` for job
+ containing the keys `user` and `password` for job binary in Swift
+ or the keys `accesskey`, `secretkey`, and `endpoint` for job
binary in S3
"""
@@ -80,7 +80,7 @@ class JobBinariesManager(base.ResourceManager):
* url
* is_public
* is_protected
- * extra - dict with the keys `username` and `password` for job binary
+ * extra - dict with the keys `user` and `password` for job binary
in Swift, or with the keys `accesskey`, `secretkey`, and `endpoint`
for job binary in S3
"""