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:
parent
7d8caa2006
commit
44453153a3
|
@ -164,8 +164,7 @@ class BarbicanCharm(charms_openstack.charm.HAOpenStackCharm):
|
||||||
return [
|
return [
|
||||||
dict(
|
dict(
|
||||||
database=self.config['database'],
|
database=self.config['database'],
|
||||||
username=self.config['database-user'],
|
username=self.config['database-user'], )
|
||||||
hostname=hookenv.unit_private_ip(), )
|
|
||||||
]
|
]
|
||||||
|
|
||||||
def action_generate_mkek(self, hsm):
|
def action_generate_mkek(self, hsm):
|
||||||
|
|
Loading…
Reference in New Issue