Commit b2d3a95b authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

doc/jsonrpc: fix response of context_switch_monitor



This method returns an object, not a bare boolean value.

Change-Id: I84d2d10fdf399e2d6b1999ad8ed6107f05e3f061
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/418232


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent ad51b333
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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
  }
}
~~~