diff --git a/haproxy-operator/lib/charms/haproxy/v1/haproxy_route_tcp.py b/haproxy-operator/lib/charms/haproxy/v1/haproxy_route_tcp.py index 0fe2b3757..80b382ae1 100644 --- a/haproxy-operator/lib/charms/haproxy/v1/haproxy_route_tcp.py +++ b/haproxy-operator/lib/charms/haproxy/v1/haproxy_route_tcp.py @@ -1559,7 +1559,7 @@ def configure_backend_port(self, backend_port: int) -> "Self": self._application_data["backend_port"] = backend_port return self - def configure_hosts(self, hosts: Optional[list[int]] = None) -> "Self": + def configure_hosts(self, hosts: Optional[list[str]] = None) -> "Self": """Set backend hosts. Args: