Skip to content

Commit

Permalink
Run pre-commit after update
Browse files Browse the repository at this point in the history
  • Loading branch information
lkubb committed Aug 12, 2024
1 parent e107670 commit c08a668
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/saltext/haproxy/beacons/haproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
.. versionadded:: 2016.11.0
"""

import logging

import salt.utils.beacons
Expand Down
2 changes: 2 additions & 0 deletions src/saltext/haproxy/modules/haproxyconn.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
.. versionadded:: 2014.7.0
"""

import logging
import os
import stat
Expand Down Expand Up @@ -307,6 +308,7 @@ def set_state(name, backend, state, socket=DEFAULT_SOCKET_URL):
salt '*' haproxy.set_state my_proxy_server my_backend ready
"""

# Pulling this in from the latest 0.5 release which is not yet in PyPi.
# https://github.com/neurogeek/haproxyctl
class setServerState(haproxy.cmds.Cmd):
Expand Down
1 change: 1 addition & 0 deletions tests/unit/beacons/test_haproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
HAProxy beacon test cases
"""

from unittest.mock import MagicMock
from unittest.mock import patch

Expand Down
1 change: 1 addition & 0 deletions tests/unit/modules/test_haproxyconn.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Test cases for salt.modules.haproxyconn
"""

import pytest
import salt.modules.haproxyconn as haproxyconn

Expand Down

0 comments on commit c08a668

Please sign in to comment.