Skip to content

Commit

Permalink
Use log.warning instead of the deprecated warn
Browse files Browse the repository at this point in the history
  • Loading branch information
sed-i authored Oct 2, 2023
1 parent f3905cd commit 93c9b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juju/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 93c9b47

Please sign in to comment.