From 105708f216e64bd62bf548019f520e9c9e91958c Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Tue, 21 Jul 2020 00:13:53 +0200 Subject: FIX: Log required cli_cmd not "cli_inband" Change-Id: If0975b1d54882390c5be418927e2961d0f4c8429 Signed-off-by: Jan Gelety Signed-off-by: Vratko Polak --- resources/libraries/python/PapiExecutor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/libraries') 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 -- cgit 1.2.3-korg