Add `host
` attribute on requires side
Commit 6dca7338b2fa8181342a0a6c49bc582a141c3972 added the attribute on the wrong side of the interface. Change-Id: I6d561617805280caebfe6e408d74ceaccefa1f08 Closes-Bug: #1845303
This commit is contained in:
parent
6dca7338b2
commit
adbfcb4ddd
@ -8,8 +8,6 @@ from charms.reactive import scopes
|
||||
class NeutronPluginProvides(RelationBase):
|
||||
scope = scopes.GLOBAL
|
||||
|
||||
auto_accessors = ['host']
|
||||
|
||||
@hook('{provides:neutron-plugin}-relation-{joined,changed}')
|
||||
def changed(self):
|
||||
self.set_state('{relation_name}.connected')
|
||||
|
@ -6,6 +6,8 @@ from charms.reactive import scopes
|
||||
class NeutronPluginRequires(RelationBase):
|
||||
scope = scopes.GLOBAL
|
||||
|
||||
auto_accessors = ['host']
|
||||
|
||||
@hook('{requires:neutron-plugin}-relation-{joined,changed}')
|
||||
def changed(self):
|
||||
self.set_state('{relation_name}.connected')
|
||||
|
Loading…
x
Reference in New Issue
Block a user