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: I358bfe669fb50cbce0380460225866afede8bbf3changes/65/425765/1
parent
7d8caa2006
commit
44453153a3
|
@ -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…
Reference in New Issue