fixup db-admin relation detection

This commit is contained in:
James Page 2013-09-20 14:14:18 +01:00
parent fb539f6b9d
commit 084484e211
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ def db_changed():
else:
db_host = unit_get('private-address')
admin = relation_type() == 'db-admin-relation-changed'
admin = relation_type() == 'db-admin'
database_name, _ = remote_unit().split("/")
username = database_name
password = configure_db(relation_get('private-address'),

View File

@ -1 +1 @@
31
32