Skip to content

Commit

Permalink
Merge pull request #927 from DanielArndt/relate-docstring-typo
Browse files Browse the repository at this point in the history
#927

#### Description

Fixes a typo in the `relate()` docstring


#### QA Steps

N/A
  • Loading branch information
jujubot authored Aug 1, 2023
2 parents b0473b2 + 20d55e3 commit fbf2f62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion juju/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1548,7 +1548,8 @@ def _find_relation(*specs):
return _find_relation(*specs)

async def relate(self, relation1, relation2):
"""The relate function is deprecated in favor of instead.
"""The relate function is deprecated in favor of integrate.
The logic is the same.
"""
log.warn("relate is deprecated and will be removed. Use integrate instead.")
Expand Down

0 comments on commit fbf2f62

Please sign in to comment.