summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glanceclient/v2/images.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/glanceclient/v2/images.py b/glanceclient/v2/images.py
index 1e8e621..c062cb8 100644
--- a/glanceclient/v2/images.py
+++ b/glanceclient/v2/images.py
@@ -335,13 +335,13 @@ class Controller(object):
if stores:
data['stores'] = stores
if allow_failure:
- data['all_stores_must_succeed'] = 'false'
+ data['all_stores_must_succeed'] = False
if backend is not None:
headers['x-image-meta-store'] = backend
if all_stores:
- data['all_stores'] = 'true'
+ data['all_stores'] = True
if allow_failure:
- data['all_stores_must_succeed'] = 'false'
+ data['all_stores_must_succeed'] = False
if uri:
if method == 'web-download':