[jamespage,r=hopem]
Set 'stateless=True' on storage-backend relation so notify relation that this backend may be handled as a stateless backend. Closes-Bug: 1493931
This commit is contained in:
commit
d6c44127e5
@ -117,7 +117,8 @@ def storage_backend(rel_id=None):
|
||||
relation_set(
|
||||
relation_id=rel_id,
|
||||
backend_name=service_name(),
|
||||
subordinate_configuration=json.dumps(CephSubordinateContext()())
|
||||
subordinate_configuration=json.dumps(CephSubordinateContext()()),
|
||||
stateless=True,
|
||||
)
|
||||
|
||||
|
||||
|
@ -136,5 +136,6 @@ class TestCinderHooks(CharmTestCase):
|
||||
self.relation_set.assert_called_with(
|
||||
relation_id=None,
|
||||
backend_name='test',
|
||||
subordinate_configuration=json.dumps({'test': 1})
|
||||
subordinate_configuration=json.dumps({'test': 1}),
|
||||
stateless=True,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user