diff options
-rw-r--r-- | resources/libraries/python/DPDK/DPDKTools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/DPDK/DPDKTools.py b/resources/libraries/python/DPDK/DPDKTools.py index b6c351f3c2..d7a780b223 100644 --- a/resources/libraries/python/DPDK/DPDKTools.py +++ b/resources/libraries/python/DPDK/DPDKTools.py @@ -111,7 +111,7 @@ class DPDKTools(object): message = 'Install the DPDK failed!' exec_cmd_no_error(node, command, timeout=600, message=message) - command = ('cat {fwdir}/download_dir/dpdk*/VERSION'. + command = ('cat {fwdir}/dpdk*/VERSION'. format(fwdir=Constants.REMOTE_FW_DIR)) message = 'Get DPDK version failed!' stdout, _ = exec_cmd_no_error(node, command, message=message) |