summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/class
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-02-22 12:53:21 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-02-22 12:53:21 -0500
commit5fabd910189a125df2943ef8092ff492f90617a1 (patch)
tree81b2c11efb61313fa6dda5602c00db8ed1d38da9 /roles/lib_openshift/src/class
parent9c49ba4bb0b69604e98fc3dda65f8ccd40f19552 (diff)
downloadopenshift-5fabd910189a125df2943ef8092ff492f90617a1.tar.gz
openshift-5fabd910189a125df2943ef8092ff492f90617a1.tar.bz2
openshift-5fabd910189a125df2943ef8092ff492f90617a1.tar.xz
openshift-5fabd910189a125df2943ef8092ff492f90617a1.zip
Moving import to local class.
Diffstat (limited to 'roles/lib_openshift/src/class')
-rw-r--r--roles/lib_openshift/src/class/oc_adm_ca_server_cert.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/lib_openshift/src/class/oc_adm_ca_server_cert.py b/roles/lib_openshift/src/class/oc_adm_ca_server_cert.py
index c0e7f292a..6ed1f2f35 100644
--- a/roles/lib_openshift/src/class/oc_adm_ca_server_cert.py
+++ b/roles/lib_openshift/src/class/oc_adm_ca_server_cert.py
@@ -37,6 +37,7 @@ class CAServerCert(OpenShiftCLI):
# Added this here as a safegaurd for stomping on the
# cert and key files if they exist
if self.config.config_options['backup']['value']:
+ import time
ext = time.strftime("%Y-%m-%d@%H:%M:%S", time.localtime(time.time()))
date_str = "%s_" + "%s" % ext