Skip to content

Commit

Permalink
Remove SocketWorkload
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Jun 26, 2023
1 parent 12a58a8 commit 7855afa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/machine_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class MachineSubordinateRouterCharm(abstract_charm.MySQLRouterCharm):

def __init__(self, *args) -> None:
super().__init__(*args)
self._workload_type = socket_workload.SocketWorkload
self._authenticated_workload_type = socket_workload.AuthenticatedSocketWorkload
self.framework.observe(self.on.install, self._on_install)
self.framework.observe(self.on.remove, self._on_remove)
Expand Down
4 changes: 0 additions & 4 deletions src/socket_workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
logger = logging.getLogger(__name__)


class SocketWorkload(workload.Workload):
"""MySQl Router workload with Unix sockets enabled"""


class AuthenticatedSocketWorkload(workload.AuthenticatedWorkload, SocketWorkload):
"""Workload with connection to MySQL cluster and with Unix sockets enabled"""

Expand Down

0 comments on commit 7855afa

Please sign in to comment.