There's a bug in handling command description 'desc' parameter. Code references variable 'desc' but instead we have to use 'desc' key of command dictionary.
Signed-off-by: Jan Tluka jtluka@redhat.com --- lnst/Controller/NetTestController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/Controller/NetTestController.py b/lnst/Controller/NetTestController.py index 527c640..3c33d68 100644 --- a/lnst/Controller/NetTestController.py +++ b/lnst/Controller/NetTestController.py @@ -660,7 +660,7 @@ class NetTestController: logging.info("Executing command: [%s]", str_command(command))
if "desc" in command: - logging.info("Cmd description: %s", desc) + logging.info("Cmd description: %s", command["desc"])
if command["type"] == "ctl_wait": sleep(command["seconds"])
lnst-developers@lists.fedorahosted.org