Spdk/scripts/rpc
Vitaliy Mysak 60bf34d1f0 scripts/rpc: change default value from None to {}
JSONRPCClient.call recieved optional `params` value,
  but then `params` was used in `json.dumps` function (line #159)
  as a dictionary, so `None` was treated as dictionary
  in some cases, which resulted in TypeError.

This patch fixes above issue by changing
  the default value from `None` to `{}`.

Change-Id: I27ca0ccc2d970c0ff9e8117f02203c03e417adf0
Signed-off-by: Vitaliy Mysak <vitaliy.mysak@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/462070
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2019-07-18 05:29:00 +00:00
..
__init__.py rpc: rename RPC get_rpc_methods to rpc_get_methods 2019-05-27 12:52:53 +00:00
app.py rpc: Add thread_get_stats RPC method 2019-07-10 04:28:14 +00:00
bdev.py bdev/ftl: construct_ftl_bdev respects default ftl config 2019-07-01 14:46:26 +00:00
client.py scripts/rpc: change default value from None to {} 2019-07-18 05:29:00 +00:00
helpers.py rpc.py: add framework for detecting deprecated aliases 2019-05-09 04:37:08 +00:00
ioat.py copy/ioat: Add scan_ioat_copy_engine RPC 2018-06-14 03:54:42 +00:00
iscsi.py iscsi: Deprecate MinConnectionsPerCore 2019-05-06 17:10:48 +00:00
log.py log: use new framework for marking deprecated RPCs 2019-05-09 04:37:08 +00:00
lvol.py lvol: add option to change clear method for lvol store creation 2019-02-28 20:50:27 +00:00
nbd.py nbd: optional nbd_device in start_nbd_disk 2019-04-04 08:35:50 +00:00
net.py scripts: fix executable attribute for includes 2018-09-18 16:34:45 +00:00
notify.py rpc/notifications: add notification support to RPC client and SPDK host. 2019-04-09 23:01:52 +00:00
nvme.py scripts/rpc.py: add method "get_nvme_controllers" 2018-10-25 17:26:25 +00:00
nvmf.py rpc: fix nvmf_create_transport c2h_success option. 2019-07-16 01:25:54 +00:00
pmem.py scripts: fix executable attribute for includes 2018-09-18 16:34:45 +00:00
subsystem.py scripts: fix executable attribute for includes 2018-09-18 16:34:45 +00:00
trace.py lib/trace: add 3 RPC method for tpoint_group_mask 2018-12-14 21:29:12 +00:00
vhost.py bdev/virtio: Remove deprecated remove_virtio_scsi_bdev rpc 2019-01-28 22:18:53 +00:00