Skip to content

Commit

Permalink
fix: error message in client.go (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
renaynay authored Dec 20, 2022
1 parent 0186923 commit 6df3e33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func httpClient(ctx context.Context, addr string, namespace string, outs []inter
c.doRequest = func(ctx context.Context, cr clientRequest) (clientResponse, error) {
b, err := json.Marshal(&cr.req)
if err != nil {
return clientResponse{}, xerrors.Errorf("mershaling requset: %w", err)
return clientResponse{}, xerrors.Errorf("marshalling request: %w", err)
}

hreq, err := http.NewRequest("POST", addr, bytes.NewReader(b))
Expand Down

0 comments on commit 6df3e33

Please sign in to comment.