nvmf/perf: Fix type error
TypeError: expected str, bytes or os.PathLike object, not int Signed-off-by: Maciej Wawryk <maciejx.wawryk@intel.com> Change-Id: I0b395035b43fd4ef5e10ae152889c737ccf66c03 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7054 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Pawel Piatek <pawelx.piatek@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
25bc25b9a0
commit
0872c7edbd
@ -739,7 +739,7 @@ class SPDKTarget(Target):
|
||||
self.subsys_no = get_nvme_devices_count()
|
||||
self.log_print("Starting SPDK NVMeOF Target process")
|
||||
nvmf_app_path = os.path.join(self.spdk_dir, "build/bin/nvmf_tgt")
|
||||
proc = subprocess.Popen([nvmf_app_path, "--wait-for-rpc", "-m", self.num_cores])
|
||||
proc = subprocess.Popen([nvmf_app_path, "--wait-for-rpc", "-m", str(self.num_cores)])
|
||||
self.pid = os.path.join(self.spdk_dir, "nvmf.pid")
|
||||
|
||||
with open(self.pid, "w") as fh:
|
||||
|
Loading…
Reference in New Issue
Block a user