[PATCH v2] usertools/telemetry: fix unused parameter
Samina Arshad
samina.arshad at intel.com
Tue May 23 16:38:55 CEST 2023
This bug fix ensures that the runtime socket path is generated
correctly, based on the user-specified file_prefix value,
resolving the issue that occurred in the previous implementation.
Fixes: a15fc792cfb6 ("usertools/telemetry: add file prefix argument")
Cc: lihuisong at huawei.com
Cc: stable at dpdk.org
Signed-off-by: Samina Arshad <samina.arshad at intel.com>
---
v2:
Made changes for previous commit to be efficient. Removed
"args" from "args.file_prefix".
---
---
usertools/dpdk-telemetry-client.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usertools/dpdk-telemetry-client.py b/usertools/dpdk-telemetry-client.py
index d6718ca5b0..e3bb1c9ee0 100755
--- a/usertools/dpdk-telemetry-client.py
+++ b/usertools/dpdk-telemetry-client.py
@@ -55,8 +55,8 @@ def getFilepath(self, file_path):
# Gets arguments from Command-Line and assigns to instance of client
self.file_path = file_path
- def setRunpath(self, file_path):
- self.run_path = os.path.join(get_dpdk_runtime_dir(args.file_prefix),
+ def setRunpath(self, file_prefix):
+ self.run_path = os.path.join(get_dpdk_runtime_dir(file_prefix),
RUNTIME_SOCKET_NAME)
def register(self):
--
2.25.1
More information about the dev
mailing list