relation-ids should default to $JUJU_RELATION, or if not available, raise an error

Bug #974650 reported by Jim Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Undecided
Jim Baker

Bug Description

The relation-ids hook command currently returns all relation ids if no relation name is specified. Instead it should default to $JUJU_RELATION. If that's not available, it should raise an error stating "Relation name must be specified".

Related branches

Jim Baker (jimbaker)
Changed in juju:
status: New → In Progress
assignee: nobody → Jim Baker (jimbaker)
milestone: none → florence
Jim Baker (jimbaker)
Changed in juju:
milestone: florence → honolulu
Jim Baker (jimbaker)
Changed in juju:
milestone: honolulu → florence
Jim Baker (jimbaker)
Changed in juju:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.