summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-11-16 09:35:43 -0700
committerspisarski <s.pisarski@cablelabs.com>2017-11-16 09:35:43 -0700
commit792a01b6592b320b80bdc7465247b0fcb19f1264 (patch)
tree42f1a335cf2701f15cdf9b6b2ced044e3ceb95ab
parent6569c9cc127dd6358a86f25f266b7bac8ef6f41f (diff)
Minor copy/paste logging value fixes.
Change-Id: I729265575583eec7fb7adc1fc49c6d91c06ad603 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
-rw-r--r--snaps/openstack/utils/heat_utils.py4
-rw-r--r--snaps/openstack/utils/tests/magnum_utils_tests.py2
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):