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
This commit is contained in:
parent
1caaf4423a
commit
6f330f6dc1
@ -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, '
|
||||
|
Loading…
x
Reference in New Issue
Block a user