summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRawan Herzallah <rherzallah@asaltech.com>2016-05-22 09:09:13 +0000
committerRawan Herzallah <rherzallah@asaltech.com>2016-05-22 09:11:16 +0000
commit7280e78fccb0fdae8fabe53649d55f2b5c30acc9 (patch)
tree9ab4f842287141e5b0806d5ed9ef8db9aba6ed51
parent4faa9ef57ef90069d5b7228e9567c2bf84b3c7a6 (diff)
Fix mellanox settings log messages
Fix some logs messages printed by mellanox_settings.py script Change-Id: I57c2c3bef0b82d852c84ae68a12cd89ded7d858c
Notes
Notes (review): Code-Review+2: Aviram Bar-Haim <aviramb@mellanox.com> Workflow+1: Aviram Bar-Haim <aviramb@mellanox.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Sun, 29 May 2016 11:45:47 +0000 Reviewed-on: https://review.openstack.org/319647 Project: openstack/fuel-plugin-mellanox Branch: refs/heads/master
-rwxr-xr-xdeployment_scripts/mellanox_settings.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/deployment_scripts/mellanox_settings.py b/deployment_scripts/mellanox_settings.py
index 9b4a034..658198b 100755
--- a/deployment_scripts/mellanox_settings.py
+++ b/deployment_scripts/mellanox_settings.py
@@ -118,8 +118,8 @@ class MellanoxSettings(object):
118 else: 118 else:
119 mlnx['cx_card'] = 'ConnectX-3' 119 mlnx['cx_card'] = 'ConnectX-3'
120 120
121 network_info_msg = 'Detected Network Type is: %s ', mlnx['network_type'] 121 network_info_msg = 'Detected Network Type is: {0} '.format(mlnx['network_type'])
122 card_info_msg = 'Detected Card Type is: %s ', mlnx['cx_card'] 122 card_info_msg = 'Detected Card Type is: {0} '.format(mlnx['cx_card'])
123 logging.info(network_info_msg) 123 logging.info(network_info_msg)
124 logging.info(card_info_msg) 124 logging.info(card_info_msg)
125 125