fix: add deprecation warning for Swarm integration in SwarmController

This commit is contained in:
Théophile Diot 2024-11-29 15:13:27 +01:00
parent 19de0e1e9d
commit 53d6114fc1
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -20,6 +20,7 @@ class SwarmController(Controller):
self.__swarm_instances = []
self.__swarm_services = []
self.__swarm_configs = []
self._logger.warning("Swarm integration is deprecated and will be removed in a future release")
def _get_controller_instances(self) -> List[Service]:
self.__swarm_instances = []