From 08abb8a798db67317c3be00a5cae616746d00472 Mon Sep 17 00:00:00 2001 From: Sean Feole Date: Fri, 18 Nov 2016 09:48:46 -0500 Subject: [PATCH] Reverted cloudcred example back to original syntax and Added 2 lines in the example. --- examples/controller.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/controller.py b/examples/controller.py index e5a6280..7edf807 100644 --- a/examples/controller.py +++ b/examples/controller.py @@ -5,6 +5,9 @@ This example: 2. Creates a new model. 3. Deploys an application on the new model. +Note: 'cloudcred' format to add a model should be: +cloudcred-__ + """ import asyncio import logging @@ -24,7 +27,7 @@ async def run(): model = await controller.add_model( 'libjuju-test', 'cloud-aws', - 'cloudcred-aws_tvansteenburgh_external_aws-tim', + 'cloudcred-aws_tvansteenburgh_external@aws-tim', ) await model.deploy( 'ubuntu-0', -- 2.17.1