From cb8c25e3c10c00858b0460ecb021b0dbd5fc935c Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 25 Feb 2016 15:30:48 -0600 Subject: Fix bug in example --- src/posts/simple-openstack-clients.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/posts/simple-openstack-clients.hbs b/src/posts/simple-openstack-clients.hbs index d95bf6c..882a691 100644 --- a/src/posts/simple-openstack-clients.hbs +++ b/src/posts/simple-openstack-clients.hbs @@ -81,7 +81,7 @@ client = cloud_config.get_legacy_client('compute')

Make a Session object for nova that uses env vars for auth info:


-client = os_client_config.session_client('compute')
+session = os_client_config.session_client('compute')
     

That will get you a keystoneauth Session object that has been "mounted" on the compute service. So you can do this:

-- cgit v1.2.3