From 606c17de4bdc6b75333b1cd2ddbe1caea59b41bb Mon Sep 17 00:00:00 2001 From: Liam Young Date: Wed, 31 Aug 2016 11:05:30 +0000 Subject: [PATCH] More RWADME updates --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ea5731f..13b782d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ another charm. # Usage -The interface provides the `service-control.connected` state. +The interface provides the `{relation-name}.connected` state. Requesting a restart of all remote services: @@ -25,7 +25,7 @@ def configure(service_control): service_control.request_restart(service_type='neutron') ``` -# metadata +# Metadata To consume this interface in your charm or layer, add the following to `layer.yaml`: @@ -34,7 +34,7 @@ To consume this interface in your charm or layer, add the following to includes: ['interface:service-control'] ``` -and add a provides interface of type `service-control` to your charm or layers +and add a requires interface of type `service-control` to your charm or layers `metadata.yaml` eg: ```yaml