From: Jan Gelety Date: Mon, 20 Jul 2020 22:13:53 +0000 (+0200) Subject: FIX: Log required cli_cmd not "cli_inband" X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=105708f216e64bd62bf548019f520e9c9e91958c;ds=sidebyside FIX: Log required cli_cmd not "cli_inband" Change-Id: If0975b1d54882390c5be418927e2961d0f4c8429 Signed-off-by: Jan Gelety Signed-off-by: Vratko Polak --- diff --git a/resources/libraries/python/PapiExecutor.py b/resources/libraries/python/PapiExecutor.py index 8308303b8a..46fe5d583b 100644 --- a/resources/libraries/python/PapiExecutor.py +++ b/resources/libraries/python/PapiExecutor.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -461,7 +461,7 @@ class PapiSocketExecutor: reply = papi_exec.add(cmd, **args).get_reply(err_msg)["reply"] if log: logger.info( - f"{cmd} ({node[u'host']} - {remote_vpp_socket}):\n" + f"{cli_cmd} ({node[u'host']} - {remote_vpp_socket}):\n" f"{reply.strip()}" ) return reply