From e21c9e2fae0a7953b6caf66f4191629ed191069b Mon Sep 17 00:00:00 2001 From: Ruslan Rotaru Date: Tue, 25 Jun 2024 14:40:02 +0100 Subject: [PATCH] fixed log --- internal/utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/utils.go b/internal/utils/utils.go index f6f2635..33cbdd5 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -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