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 <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/418232 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
ad51b333e8
commit
b2d3a95b0e
@ -52,7 +52,9 @@ enabled | Optional | boolean | Enable (`true`) or disable (`
|
|||||||
|
|
||||||
### Response
|
### 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
|
### Example
|
||||||
|
|
||||||
@ -73,7 +75,9 @@ Example response:
|
|||||||
{
|
{
|
||||||
"jsonrpc": "2.0",
|
"jsonrpc": "2.0",
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"result": false
|
"result": {
|
||||||
|
"enabled": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user