From 6f330f6dc1c1bbea40e5360c7236d4db97776d4e Mon Sep 17 00:00:00 2001 From: KeithMnemonic Date: Fri, 3 Apr 2020 17:36:57 -0400 Subject: [PATCH] Remove incorrect assignment of ping_cmd to 'True' This patch removes an incorrect setting ping_cmd to 'True'. This is needed as the code is expecting ping_check to be a "str" and not a "boolean". Change-Id: Id9978215cb11c3a0d8f756d8ff8a5e7f789170b4 Story: 2007517 Task: 39300 --- monasca_setup/detection/plugins/libvirt.py | 1 - 1 file changed, 1 deletion(-) diff --git a/monasca_setup/detection/plugins/libvirt.py b/monasca_setup/detection/plugins/libvirt.py index df6e36d4..1d904fb5 100644 --- a/monasca_setup/detection/plugins/libvirt.py +++ b/monasca_setup/detection/plugins/libvirt.py @@ -185,7 +185,6 @@ class Libvirt(plugin.Plugin): ' '.join(ping_cmd)) log.info( "\tEnabling ping checks using {0}".format(ping_cmd[0])) - init_config['ping_check'] = True break if init_config['ping_check'] is False: log.warn('\tUnable to find suitable ping command, '