]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor the ProcessMonitor _exit_handler to ProcessMonitor
authorMiguel Angel Ajo <mangelajo@redhat.com>
Tue, 27 Jan 2015 11:52:30 +0000 (11:52 +0000)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Tue, 27 Jan 2015 11:52:30 +0000 (11:52 +0000)
commit2e5bf64a51cdcaa8be2e8a07dc74135aca8de182
treea7f7f4d3798768b23d1f074a199b116e64142436
parent51fcac038954b537d552a4cb37aca1c797c06255
Refactor the ProcessMonitor _exit_handler to ProcessMonitor

We allowed to provide an specific _exit_handler, but in
the end all the implementations are providing the same
one. So, now it's refactored back to the monitor, and
removed any YAGNI code.

Partially implements: bp/agent-child-processes-status

Change-Id: I916feb631885324bc98da1b1350915e14b6fcadc
neutron/agent/dhcp/agent.py
neutron/agent/linux/external_process.py
neutron/cmd/netns_cleanup.py
neutron/tests/functional/agent/linux/test_process_monitor.py
neutron/tests/unit/agent/linux/test_process_monitor.py