Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3424)

Issue 5991058: relation-ids should default to $JUJU_RELATION

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by jimbaker
Modified:
12 years ago
Reviewers:
mp+101156, hazmat
Visibility:
Public.

Description

relation-ids should default to $JUJU_RELATION If no relation name is specified for the relation-ids hook command, it should default to $JUJU_RELATION. If that's not available, it should raise an error stating "Relation name must be specified". https://code.launchpad.net/~jimbaker/juju/must-specify-relation-name/+merge/101156 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : relation-ids should default to $JUJU_RELATION #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -11 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M juju/hooks/commands.py View 1 2 chunks +11 lines, -3 lines 0 comments Download
M juju/hooks/protocol.py View 2 chunks +16 lines, -2 lines 0 comments Download
M juju/hooks/tests/test_communications.py View 3 chunks +16 lines, -2 lines 0 comments Download
M juju/hooks/tests/test_invoker.py View 1 3 chunks +29 lines, -4 lines 0 comments Download

Messages

Total messages: 4
jimbaker
Please take a look.
12 years ago (2012-04-06 20:37:30 UTC) #1
hazmat
This is almost a trivial branch.. but.. its a bit odd that this bothers to ...
12 years ago (2012-04-10 14:09:06 UTC) #2
jimbaker
Please take a look.
12 years ago (2012-04-10 16:42:58 UTC) #3
jimbaker
12 years ago (2012-04-10 16:43:53 UTC) #4
I have added this check on the client side.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b