From 792a01b6592b320b80bdc7465247b0fcb19f1264 Mon Sep 17 00:00:00 2001 From: spisarski Date: Thu, 16 Nov 2017 09:35:43 -0700 Subject: Minor copy/paste logging value fixes. Change-Id: I729265575583eec7fb7adc1fc49c6d91c06ad603 Signed-off-by: spisarski --- snaps/openstack/utils/heat_utils.py | 4 ++-- snaps/openstack/utils/tests/magnum_utils_tests.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/snaps/openstack/utils/heat_utils.py b/snaps/openstack/utils/heat_utils.py index be7e2f5..e319229 100644 --- a/snaps/openstack/utils/heat_utils.py +++ b/snaps/openstack/utils/heat_utils.py @@ -37,7 +37,7 @@ def heat_client(os_creds): :param os_creds: the OpenStack credentials :return: the client """ - logger.debug('Retrieving Nova Client') + logger.debug('Retrieving Heat Client') return Client(os_creds.heat_api_version, session=keystone_utils.keystone_session(os_creds), region_name=os_creds.region_name) @@ -155,7 +155,7 @@ def get_resources(heat_cli, stack, res_type=None): out = list() for os_resource in os_resources: if ((res_type and os_resource.resource_type == res_type) - or not res_type): + or not res_type): out.append(Resource( name=os_resource.resource_name, resource_type=os_resource.resource_type, diff --git a/snaps/openstack/utils/tests/magnum_utils_tests.py b/snaps/openstack/utils/tests/magnum_utils_tests.py index f4abc89..48ead80 100644 --- a/snaps/openstack/utils/tests/magnum_utils_tests.py +++ b/snaps/openstack/utils/tests/magnum_utils_tests.py @@ -20,7 +20,7 @@ from snaps.openstack.utils import magnum_utils __author__ = 'spisarski' -logger = logging.getLogger('nova_utils_tests') +logger = logging.getLogger('magnum_utils_tests') class MagnumSmokeTests(OSComponentTestCase): -- cgit 1.2.3-korg