Skip to content

Commit

Permalink
monkey patch actionrunner earlier to fix ssh proxycommand support
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Mielke committed Jun 21, 2016
1 parent 2f88900 commit fc6261c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions st2actions/st2actions/cmd/actionrunner.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Monkey patching should be done as early as possible.
# See http://eventlet.net/doc/patching.html#monkeypatching-the-standard-library
from st2common.util.monkey_patch import monkey_patch
monkey_patch()

import os
import signal
import sys
Expand All @@ -7,14 +12,11 @@
from st2common import log as logging
from st2common.service_setup import setup as common_setup
from st2common.service_setup import teardown as common_teardown
from st2common.util.monkey_patch import monkey_patch

__all__ = [
'main'
]

monkey_patch()

LOG = logging.getLogger(__name__)


Expand Down

0 comments on commit fc6261c

Please sign in to comment.