Skip to content

Commit

Permalink
Use get_supervisor() instead of get_server_proxy()
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaberez committed Sep 10, 2014
1 parent 23978fb commit a213d48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisord_nagios/controllerplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class NagiosControllerPlugin(ControllerPluginBase):

def __init__(self, controller):
self.ctl = controller
self.supervisor = controller.get_server_proxy('supervisor')
self.supervisor = controller.get_supervisor()

def _exit_wrapper(self, method, arg):
try:
Expand Down

0 comments on commit a213d48

Please sign in to comment.