Merge "Clean up code for bug1511311"

This commit is contained in:
Jenkins 2015-12-18 07:50:21 +00:00 committed by Gerrit Code Review
commit a314f3a38d

View File

@ -405,13 +405,12 @@ class KeepalivedManager(object):
pm = self.get_process()
pm.disable(sig='15')
def get_process(self, callback=None):
def get_process(self):
return external_process.ProcessManager(
cfg.CONF,
self.resource_id,
self.namespace,
pids_path=self.conf_path,
default_cmd_callback=callback)
pids_path=self.conf_path)
def _get_vrrp_process(self, pid_file):
return external_process.ProcessManager(