diff --git a/juju/model.py b/juju/model.py index d4bb5920..754f5880 100644 --- a/juju/model.py +++ b/juju/model.py @@ -1558,7 +1558,7 @@ async def relate(self, relation1, relation2): The logic is the same. """ - log.warn("relate is deprecated and will be removed. Use integrate instead.") + log.warning("relate is deprecated and will be removed. Use integrate instead.") return await self.integrate(relation1, relation2) async def add_space(self, name, cidrs=None, public=True):