Merge James' db_host fix.

This commit is contained in:
Adam Gandelman 2013-03-13 11:33:01 -07:00
commit a941c4bd62
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ function db_changed {
"$JUJU_REMOTE_UNIT-$JUJU_RELATION_ID"
fi
local db_host=$(relation-get $r_args private-address)
local db_host=$(relation-get $r_args db_host)
local db_password=$(relation-get $r_args password)
if [[ -z "$db_host" ]] || [[ -z "$db_password" ]] ; then