Commit c0523612 authored by Boxiang Sun's avatar Boxiang Sun

fixup

parent f971ae75
......@@ -900,7 +900,7 @@ class Partition(object):
for process in all_process:
if 'on-watch' in process['name'] and process['statename'] != "RUNNING":
for on_watch_service in service_list:
if service_list in process['name']:
if on_watch_service in process['name']:
self.logger.info('On watch service %r is not running' % process['name'])
bad_service_list.append(process['name'] + '-on-watch')
if len(bad_service_list) > 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment