mirror of https://github.com/k3s-io/k3s
Address lint errors
parent
12c76ca747
commit
42702518a1
|
@ -703,7 +703,7 @@ def ceph_storage(ceph_admin):
|
|||
cmd = ['kubectl', 'apply', '-f', '/tmp/ceph-secret.yaml']
|
||||
check_call(cmd)
|
||||
os.remove('/tmp/ceph-secret.yaml')
|
||||
except:
|
||||
except: # NOQA
|
||||
# the enlistment in kubernetes failed, return and prepare for re-exec
|
||||
return
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ from charms.kubernetes.flagmanager import FlagManager
|
|||
from charms.reactive.helpers import data_changed, any_file_changed
|
||||
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.contrib.charmsupport import nrpe
|
||||
|
||||
|
|
Loading…
Reference in New Issue