Skip to content

Commit

Permalink
Fix dumping custom object into yaml format. (canonical#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
chanchiwai-ray authored Jun 23, 2024
1 parent 5f86be2 commit c95aa7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cou/utils/juju_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,8 @@ async def get_applications(self) -> dict[str, Application]:
unit.workload_version,
[
SubordinateUnit(
subordinate, model.applications[subordinate.split("/")[0]]
subordinate,
model.applications[subordinate.split("/")[0]].charm_name,
)
for subordinate, subordinate_unit in unit.subordinates.items()
],
Expand Down

0 comments on commit c95aa7f

Please sign in to comment.