Skip to content

Commit

Permalink
fix: typo (#595)
Browse files Browse the repository at this point in the history
  • Loading branch information
lnnt authored Aug 2, 2022
1 parent 108a65e commit fdaffb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func HTTPPostContext(ctx context.Context, uri string, data []byte, header map[st

defer response.Body.Close()
if response.StatusCode != http.StatusOK {
return nil, fmt.Errorf("http get error : uri=%v , statusCode=%v", uri, response.StatusCode)
return nil, fmt.Errorf("http post error : uri=%v , statusCode=%v", uri, response.StatusCode)
}
return ioutil.ReadAll(response.Body)
}
Expand Down

0 comments on commit fdaffb6

Please sign in to comment.