Fix support for spaces in shared-db relation

Newer versions of the mysql-shared interface automatically set the
correct hostname based on the network space binding for the relation;
stop providing this from the charm and just let the interface do
its magic!

Change-Id: I358bfe669fb50cbce0380460225866afede8bbf3
This commit is contained in:
James Page 2017-01-26 15:59:27 +00:00
parent 7d8caa2006
commit 44453153a3
1 changed files with 1 additions and 2 deletions

View File

@ -164,8 +164,7 @@ class BarbicanCharm(charms_openstack.charm.HAOpenStackCharm):
return [
dict(
database=self.config['database'],
username=self.config['database-user'],
hostname=hookenv.unit_private_ip(), )
username=self.config['database-user'], )
]
def action_generate_mkek(self, hsm):