aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2020-07-21 00:13:53 +0200
committerVratko Polak <vrpolak@cisco.com>2020-07-23 14:31:48 +0000
commit105708f216e64bd62bf548019f520e9c9e91958c (patch)
treeefcb8d684cc4c2da3cf388f729972c66e09a6963 /resources
parent0d676cebb06deba4d5b2d6eb49d74e8238f77485 (diff)
FIX: Log required cli_cmd not "cli_inband"
Change-Id: If0975b1d54882390c5be418927e2961d0f4c8429 Signed-off-by: Jan Gelety <jgelety@cisco.com> Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/PapiExecutor.py4
1 files changed, 2 insertions, 2 deletions
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