summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs
diff options
context:
space:
mode:
Diffstat (limited to 'openshift-storage-libs')
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/openshift_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py b/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
index 6d29d4ab..51865106 100644
--- a/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
+++ b/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
@@ -1005,7 +1005,7 @@ def resize_pvc(hostname, pvc_name, size):
'''
cmd = ("oc patch pvc %s "
"-p='{\"spec\": {\"resources\": {\"requests\": "
- "{\"storage\": \"%dGi\"}}}}'" % (pvc_name, size))
+ "{\"storage\": \"%sGi\"}}}}'" % (pvc_name, size))
out = command.cmd_run(cmd, hostname=hostname)
g.log.info("successfully edited storage capacity"
"of pvc %s . out- %s" % (pvc_name, out))