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
changes/65/425765/1
James Page 6 years ago
parent 7d8caa2006
commit 44453153a3
  1. 3
      src/lib/charm/openstack/barbican.py

@ -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):

Loading…
Cancel
Save