Merge "Clean up code for bug1511311"
This commit is contained in:
commit
a314f3a38d
@ -405,13 +405,12 @@ class KeepalivedManager(object):
|
|||||||
pm = self.get_process()
|
pm = self.get_process()
|
||||||
pm.disable(sig='15')
|
pm.disable(sig='15')
|
||||||
|
|
||||||
def get_process(self, callback=None):
|
def get_process(self):
|
||||||
return external_process.ProcessManager(
|
return external_process.ProcessManager(
|
||||||
cfg.CONF,
|
cfg.CONF,
|
||||||
self.resource_id,
|
self.resource_id,
|
||||||
self.namespace,
|
self.namespace,
|
||||||
pids_path=self.conf_path,
|
pids_path=self.conf_path)
|
||||||
default_cmd_callback=callback)
|
|
||||||
|
|
||||||
def _get_vrrp_process(self, pid_file):
|
def _get_vrrp_process(self, pid_file):
|
||||||
return external_process.ProcessManager(
|
return external_process.ProcessManager(
|
||||||
|
Loading…
Reference in New Issue
Block a user