Skip to content

Commit 93c9b47

Browse files
authored
Use log.warning instead of the deprecated warn
1 parent f3905cd commit 93c9b47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

juju/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1558,7 +1558,7 @@ async def relate(self, relation1, relation2):
15581558
15591559
The logic is the same.
15601560
"""
1561-
log.warn("relate is deprecated and will be removed. Use integrate instead.")
1561+
log.warning("relate is deprecated and will be removed. Use integrate instead.")
15621562
return await self.integrate(relation1, relation2)
15631563

15641564
async def add_space(self, name, cidrs=None, public=True):

0 commit comments

Comments
 (0)