Skip to content

Commit

Permalink
fixed log
Browse files Browse the repository at this point in the history
  • Loading branch information
rotarur committed Jun 25, 2024
1 parent ce69ff5 commit e21c9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func PostCID(dst string, payload []byte, fPath string) (*http.Response, error) {
}

if s := res.Status; strings.HasPrefix(s, "5") || strings.HasPrefix(s, "4") {
return nil, fmt.Errorf("the endpoint responded with: HTTP %s, when executing POST request on <%s>", dst, s)
return nil, fmt.Errorf("the endpoint responded with: HTTP %s, when executing POST request on <%s>", s, dst)
}

return res, nil
Expand Down

0 comments on commit e21c9e2

Please sign in to comment.