Skip to content

Commit e21c9e2

Browse files
committed
fixed log
1 parent ce69ff5 commit e21c9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/utils/utils.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func PostCID(dst string, payload []byte, fPath string) (*http.Response, error) {
154154
}
155155

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

160160
return res, nil

0 commit comments

Comments
 (0)