bdev/delay: add missing write_object_end in config_json
One of the objects wasn't enclosed with spdk_json_write_object_end(), causing the resulting configuration to be broken. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ib0311e002e43d4ad01c61feb6af54cb4212b477b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10755 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
10f32b9f19
commit
54efe6552b
@ -516,6 +516,7 @@ vbdev_delay_config_json(struct spdk_json_write_ctx *w)
|
||||
spdk_json_write_named_object_begin(w, "params");
|
||||
_delay_write_conf_values(delay_node, w);
|
||||
spdk_json_write_object_end(w);
|
||||
spdk_json_write_object_end(w);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user