Fix typo in comment.
This commit is contained in:
parent
5d40d51672
commit
b0ca6d5903
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ func jsonRpcSend(user string, password string, server string, message []byte) (*
|
|||
}
|
||||
|
||||
// GetRaw should be called after JsonRpcSend. It reads and returns
|
||||
// the reply (which you can then call readResult() on) and closes the
|
||||
// the reply (which you can then call ReadResultCmd() on) and closes the
|
||||
// connection.
|
||||
func GetRaw(resp io.ReadCloser) ([]byte, error) {
|
||||
body, err := ioutil.ReadAll(resp)
|
||||
|
|
Loading…
Add table
Reference in a new issue