summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs
diff options
context:
space:
mode:
authorNitin Goyal <nigoyal@redhat.com>2019-08-20 17:41:21 +0530
committerNitin Goyal <nigoyal@redhat.com>2019-08-20 17:42:15 +0530
commit887813b694d4fb5abaa2e2180cd75e0b79c27704 (patch)
tree55530dc6870aefdb8bae4451d4cdca26b3c3bf07 /openshift-storage-libs
parent9a79735144ec8caad346feb6897d9e78dfea1a29 (diff)
Remove extra '-' from create_secret
Change-Id: I2ebc1c2e7e7aefb5e0d70342a7ec243a12b0663b
Diffstat (limited to 'openshift-storage-libs')
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/baseclass.py2
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/openshift_ops.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/baseclass.py b/openshift-storage-libs/openshiftstoragelibs/baseclass.py
index 956cf56..e55ef84 100644
--- a/openshift-storage-libs/openshiftstoragelibs/baseclass.py
+++ b/openshift-storage-libs/openshiftstoragelibs/baseclass.py
@@ -136,7 +136,7 @@ class BaseClass(unittest.TestCase):
return command.cmd_run(
cmd=cmd, hostname=hostname, raise_on_error=raise_on_error)
- def create_secret(self, secret_name_prefix="autotests-secret-"):
+ def create_secret(self, secret_name_prefix="autotests-secret"):
secret_name = oc_create_secret(
self.ocp_client[0],
secret_name_prefix=secret_name_prefix,
diff --git a/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py b/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
index 8069fd8..6677bb8 100644
--- a/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
+++ b/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
@@ -233,7 +233,7 @@ def oc_process(ocp_node, params, filename):
return out
-def oc_create_secret(hostname, secret_name_prefix="autotests-secret-",
+def oc_create_secret(hostname, secret_name_prefix="autotests-secret",
namespace="default",
data_key="password",
secret_type="kubernetes.io/glusterfs"):