Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Lint fixes
  • Loading branch information
thatch45 committed Mar 22, 2014
1 parent 2797cc1 commit ae40986
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions salt/modules/haproxyconn.py
Expand Up @@ -17,14 +17,11 @@
except ImportError:
HAS_HAPROXY = False


# Import salt libs
import salt.utils

log = logging.getLogger(__name__)

__virtualname__ = 'haproxy'


def __virtual__():
'''
Only load the module if haproxyctl is installed
Expand All @@ -48,7 +45,7 @@ def _get_conn(socket='/var/run/haproxy.sock'):
def list_servers(backend, socket='/var/run/haproxy.sock'):
'''
List servers in haproxy backend.
backend
haproxy backend
Expand All @@ -70,7 +67,7 @@ def enable_server(name, backend, socket='/var/run/haproxy.sock'):
name
Server to enable
backend
haproxy backend
Expand All @@ -93,7 +90,7 @@ def disable_server(name, backend, socket='/var/run/haproxy.sock'):
name
Server to disable
backend
haproxy backend
Expand Down

0 comments on commit ae40986

Please sign in to comment.