Use json for subordinate configuration.
JSON encoding the subordinate config data is the preffered way to pass it down the relation. This is supported by the corresponding context https://github.com/juju/charm-helpers/blob/master/charmhelpers/contrib/openstack/context.py#L1272 and this is the approach cinder-ceph takes.
This commit is contained in:
parent
8152628b12
commit
4343977350
|
@ -50,4 +50,4 @@ class CinderBackendProvides(RelationBase):
|
|||
}
|
||||
conv.set_remote(backend_name=backend_name,
|
||||
stateless=stateless,
|
||||
subordinate_configuration=configuration)
|
||||
subordinate_configuration=json.dumps(configuration))
|
||||
|
|
Loading…
Reference in New Issue