Browse Source

[fix] interface name

Alvaro Uría 3 years ago
parent
commit
c37a179369
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      requires.py

+ 2
- 2
requires.py View File

@@ -25,7 +25,7 @@ class KeystoneRequires(RelationBase):
25 25
                       'service_port', 'service_region',
26 26
                       'service_tenant_name', 'service_username']
27 27
 
28
-    @hook('{requires:keystone}-relation-{joined,changed}')
28
+    @hook('{requires:keystone-admin}-relation-{joined,changed}')
29 29
     def changed(self):
30 30
         conv = self.conversation()
31 31
         conv.set_state('{relation_name}.connected')
@@ -34,7 +34,7 @@ class KeystoneRequires(RelationBase):
34 34
         else:
35 35
             conv.remove_state('{relation_name}.available')
36 36
 
37
-    @hook('{requires:keystone}-relation-{broken,departed}')
37
+    @hook('{requires:keystone-admin}-relation-{broken,departed}')
38 38
     def departed(self):
39 39
         conv = self.conversation()
40 40
         conv.remove_state('{relation_name}.available')

Loading…
Cancel
Save