diff options
author | Rastislav Barlik <barlik@gmx.com> | 2017-10-25 20:08:13 +0100 |
---|---|---|
committer | Rastislav Barlik <barlik@gmx.com> | 2017-10-28 18:23:04 +0200 |
commit | 748875e210d13f665a40715cba98139b99a45858 (patch) | |
tree | 6e1906b887bed16a4c4de7502fa96260fb29252b /roles | |
parent | eb61aff363240ddb55f20c19843401f808aa53e5 (diff) | |
download | openshift-748875e210d13f665a40715cba98139b99a45858.tar.gz openshift-748875e210d13f665a40715cba98139b99a45858.tar.bz2 openshift-748875e210d13f665a40715cba98139b99a45858.tar.xz openshift-748875e210d13f665a40715cba98139b99a45858.zip |
Fix broken oc_secret update function
Diffstat (limited to 'roles')
-rw-r--r-- | roles/lib_openshift/library/oc_secret.py | 2 | ||||
-rw-r--r-- | roles/lib_openshift/src/class/oc_secret.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/lib_openshift/library/oc_secret.py b/roles/lib_openshift/library/oc_secret.py index 0614f359d..62bda33ad 100644 --- a/roles/lib_openshift/library/oc_secret.py +++ b/roles/lib_openshift/library/oc_secret.py @@ -1633,7 +1633,7 @@ class OCSecret(OpenShiftCLI): This receives a list of file names and converts it into a secret. The secret is then written to disk and passed into the `oc replace` command. ''' - secret = self.prep_secret(files, force) + secret = self.prep_secret(files, force=force) if secret['returncode'] != 0: return secret diff --git a/roles/lib_openshift/src/class/oc_secret.py b/roles/lib_openshift/src/class/oc_secret.py index 5322d6241..89e70b6b2 100644 --- a/roles/lib_openshift/src/class/oc_secret.py +++ b/roles/lib_openshift/src/class/oc_secret.py @@ -67,7 +67,7 @@ class OCSecret(OpenShiftCLI): This receives a list of file names and converts it into a secret. The secret is then written to disk and passed into the `oc replace` command. ''' - secret = self.prep_secret(files, force) + secret = self.prep_secret(files, force=force) if secret['returncode'] != 0: return secret |