juju/python-libjuju

Code failure when relation is a peer relation

Opened this issue · 3 comments

juju 3.4.3
libjuju 3.5.0.0

Cannot call app.related_applications() because it fails when there is a peer relationship:

The following line throws: ValueError: not enough values to unpack (expected 2, got 1).
This only happens when the relation is a peer relation.

local_ep, remote_ep = rel.endpoints

This issue is marked as incomplete because it has been open 30 days with no activity. Please remove incomplete label or comment or this will be closed in 5 days.

This issue was closed because it has been stalled for 5 days with no activity.

Closed prematurely by the bot.