mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Address lint errors
This commit is contained in:
parent
12c76ca747
commit
42702518a1
@ -703,7 +703,7 @@ def ceph_storage(ceph_admin):
|
|||||||
cmd = ['kubectl', 'apply', '-f', '/tmp/ceph-secret.yaml']
|
cmd = ['kubectl', 'apply', '-f', '/tmp/ceph-secret.yaml']
|
||||||
check_call(cmd)
|
check_call(cmd)
|
||||||
os.remove('/tmp/ceph-secret.yaml')
|
os.remove('/tmp/ceph-secret.yaml')
|
||||||
except:
|
except: # NOQA
|
||||||
# the enlistment in kubernetes failed, return and prepare for re-exec
|
# the enlistment in kubernetes failed, return and prepare for re-exec
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ from charms.kubernetes.flagmanager import FlagManager
|
|||||||
from charms.reactive.helpers import data_changed, any_file_changed
|
from charms.reactive.helpers import data_changed, any_file_changed
|
||||||
from charms.templating.jinja2 import render
|
from charms.templating.jinja2 import render
|
||||||
|
|
||||||
from charmhelpers.core import hookenv, unitdata
|
from charmhelpers.core import hookenv
|
||||||
from charmhelpers.core.host import service_stop, service_restart
|
from charmhelpers.core.host import service_stop, service_restart
|
||||||
from charmhelpers.contrib.charmsupport import nrpe
|
from charmhelpers.contrib.charmsupport import nrpe
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user