[bradm] Fixes from pep8 run
This commit is contained in:
parent
34ce395984
commit
1e61b4e2e9
@ -207,7 +207,8 @@ def upgrade_charm():
|
||||
fatal=True)
|
||||
|
||||
|
||||
@hooks.hook('nrpe-external-master-relation-joined', 'nrpe-external-master-relation-changed')
|
||||
@hooks.hook('nrpe-external-master-relation-joined',
|
||||
'nrpe-external-master-relation-changed')
|
||||
def update_nrpe_config():
|
||||
# Find out if nrpe set nagios_hostname
|
||||
hostname = None
|
||||
@ -228,7 +229,7 @@ def update_nrpe_config():
|
||||
nrpe.add_check(
|
||||
shortname='ceph-osd',
|
||||
description='process check {%s}' % current_unit,
|
||||
check_cmd = 'check_upstart_job ceph-osd',
|
||||
check_cmd='check_upstart_job ceph-osd',
|
||||
)
|
||||
|
||||
nrpe.write()
|
||||
|
Loading…
x
Reference in New Issue
Block a user