Remote Alertmanager: Fix log line in the Mimir client (#111293)

This commit is contained in:
Santiago
2025-09-18 10:07:16 +00:00
committed by GitHub
parent e6f1f2c45d
commit 8f9d8f1154
+1 -1
View File
@@ -149,7 +149,7 @@ func (mc *Mimir) do(ctx context.Context, p, method string, payload io.Reader, ou
if err != nil {
bodyStr = fmt.Sprintf("fail_to_read: %s", err)
}
mc.logger.Error(msg, "content-type", "url", r.URL.String(), "method", r.Method, ct, "status", resp.StatusCode, "body", bodyStr)
mc.logger.Error(msg, "content-type", ct, "url", r.URL.String(), "method", r.Method, "status", resp.StatusCode, "body", bodyStr)
return nil, fmt.Errorf("%s: %s", msg, ct)
}