From 1d6f5bc1d578c9fac10a7fc94635663149d1fc67 Mon Sep 17 00:00:00 2001 From: viktorking7 <140458814+viktorking7@users.noreply.github.com> Date: Fri, 10 Oct 2025 15:35:04 +0200 Subject: [PATCH] Update util.go --- config/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/util.go b/config/util.go index 6c69aecfe86e..e5bde083e830 100644 --- a/config/util.go +++ b/config/util.go @@ -42,7 +42,7 @@ func UnmarshalFromURL(ctx context.Context, from string, to interface{}) error { if resp.StatusCode != http.StatusOK { return errors.Errorf("http request to %v failed with status code %d", from, resp.StatusCode) } - if err := json.NewDecoder(resp.Body).Decode(&to); err != nil { + if err := json.NewDecoder(resp.Body).Decode(to); err != nil { return errors.Wrap(err, "failed to decode http response") } return nil