Merge lp:~mars/charms/precise/memcached/fix-cache-relation-joined into lp:charms/memcached

Proposed by Māris Fogels
Status: Work in progress
Proposed branch: lp:~mars/charms/precise/memcached/fix-cache-relation-joined
Merge into: lp:charms/memcached
Diff against target: 11 lines (+1/-1)
1 file modified
hooks/cache-relation-joined (+1/-1)
To merge this branch: bzr merge lp:~mars/charms/precise/memcached/fix-cache-relation-joined
Reviewer Review Type Date Requested Status
charmers Pending
Review via email: mp+124779@code.launchpad.net

Description of the change

This branch fixes a shell syntax error in the memcached cache-relation-joined hook. The original error sent the charm into the start-error state, leaving the service unusable.

To post a comment you must log in.

Unmerged revisions

51. By Māris Fogels

Fixed a bash syntax error in the cache-relation-joined hook

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'hooks/cache-relation-joined'
--- hooks/cache-relation-joined 2012-09-13 18:43:22 +0000
+++ hooks/cache-relation-joined 2012-09-17 19:39:18 +0000
@@ -4,6 +4,6 @@
4else4else
5 rids=$JUJU_RELATION_ID5 rids=$JUJU_RELATION_ID
6fi6fi
7for $rid in $rids ; do7for rid in $rids ; do
8 relation-set -r $rid host=`unit-get private-address` port=`config-get tcp-port` udp-port=`config-get udp-port`8 relation-set -r $rid host=`unit-get private-address` port=`config-get tcp-port` udp-port=`config-get udp-port`
9done9done

Subscribers

People subscribed via source and target branches

to all changes: