Skip to content

Commit 6df3e33

Browse files
authored
fix: error message in client.go (#85)
1 parent 0186923 commit 6df3e33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func httpClient(ctx context.Context, addr string, namespace string, outs []inter
144144
c.doRequest = func(ctx context.Context, cr clientRequest) (clientResponse, error) {
145145
b, err := json.Marshal(&cr.req)
146146
if err != nil {
147-
return clientResponse{}, xerrors.Errorf("mershaling requset: %w", err)
147+
return clientResponse{}, xerrors.Errorf("marshalling request: %w", err)
148148
}
149149

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

0 commit comments

Comments
 (0)