From b2d3a95b0e403e670d79cd6817b3935407348eec Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Fri, 6 Jul 2018 13:27:18 -0700 Subject: [PATCH] doc/jsonrpc: fix response of context_switch_monitor This method returns an object, not a bare boolean value. Change-Id: I84d2d10fdf399e2d6b1999ad8ed6107f05e3f061 Signed-off-by: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/418232 Tested-by: SPDK Automated Test System Reviewed-by: Jim Harris Reviewed-by: Ben Walker --- doc/jsonrpc.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/jsonrpc.md b/doc/jsonrpc.md index 831eed5ea..6acd0018f 100644 --- a/doc/jsonrpc.md +++ b/doc/jsonrpc.md @@ -52,7 +52,9 @@ enabled | Optional | boolean | Enable (`true`) or disable (` ### Response -The current state of context switch monitoring is returned as a boolean. +Name | Type | Description +----------------------- | ----------- | ----------- +enabled | boolean | The current state of context switch monitoring ### Example @@ -73,7 +75,9 @@ Example response: { "jsonrpc": "2.0", "id": 1, - "result": false + "result": { + "enabled": false + } } ~~~