9b81498be8
RPC client constructor accepts optional port, but does not check if it's None in case of remote connection. This patch adds the check and new error message related to it. Case where port is unexpectedly None can be reproduced by starting spdkcli when SPDK socket does not exist. Change-Id: I46e0b99547204c6fdeac421e5de9d6991387e207 Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/460974 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
__init__.py | ||
app.py | ||
bdev.py | ||
client.py | ||
helpers.py | ||
ioat.py | ||
iscsi.py | ||
log.py | ||
lvol.py | ||
nbd.py | ||
net.py | ||
notify.py | ||
nvme.py | ||
nvmf.py | ||
pmem.py | ||
subsystem.py | ||
trace.py | ||
vhost.py |