From becbbabc63b0eff15ed6979947aeb75ddf6819c9 Mon Sep 17 00:00:00 2001 From: spisarski Date: Thu, 20 Apr 2017 14:15:30 -0600 Subject: Added support for Glance v2 Updated copyright date on new and edited files to current year. JIRA: SNAPS-66 Change-Id: I491157d6ced8bd9322f99272fc14e00168faaf29 Signed-off-by: spisarski --- snaps/openstack/create_instance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'snaps/openstack/create_instance.py') diff --git a/snaps/openstack/create_instance.py b/snaps/openstack/create_instance.py index 12add1a..dda68fd 100644 --- a/snaps/openstack/create_instance.py +++ b/snaps/openstack/create_instance.py @@ -1,4 +1,4 @@ -# Copyright (c) 2016 Cable Television Laboratories, Inc. ("CableLabs") +# Copyright (c) 2017 Cable Television Laboratories, Inc. ("CableLabs") # and others. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -122,7 +122,7 @@ class OpenStackVmInstance: if not flavor: raise Exception('Flavor not found with name - ' + self.instance_settings.flavor) - image = glance_utils.get_image(self.__nova, glance_utils.glance_client(self.__os_creds), + image = glance_utils.get_image(glance_utils.glance_client(self.__os_creds), self.image_settings.name) if image: self.__vm = self.__nova.servers.create( -- cgit 1.2.3-korg