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
1=== modified file 'hooks/cache-relation-joined'
2--- hooks/cache-relation-joined 2012-09-13 18:43:22 +0000
3+++ hooks/cache-relation-joined 2012-09-17 19:39:18 +0000
4@@ -4,6 +4,6 @@
5 else
6 rids=$JUJU_RELATION_ID
7 fi
8-for $rid in $rids ; do
9+for rid in $rids ; do
10 relation-set -r $rid host=`unit-get private-address` port=`config-get tcp-port` udp-port=`config-get udp-port`
11 done

Subscribers

People subscribed via source and target branches

to all changes: