From 48de62c5c9fddfa64da6b5d011157fc2d942ad3c Mon Sep 17 00:00:00 2001 From: hweawer Date: Wed, 15 Jan 2025 18:16:43 +0100 Subject: [PATCH] Revert --- agent/agentclient/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/agentclient/client.go b/agent/agentclient/client.go index 3213204e..beaa4b0f 100644 --- a/agent/agentclient/client.go +++ b/agent/agentclient/client.go @@ -48,7 +48,7 @@ func New(addr string) *HTTPClient { // GetTag resolves tag into a digest. Returns ErrTagNotFound if the tag does // not exist. func (c *HTTPClient) GetTag(tag string) (core.Digest, error) { - resp, err := httputil.Get(fmt.Sprintf("https://%s/tags/%s", c.addr, url.PathEscape(tag))) + resp, err := httputil.Get(fmt.Sprintf("http://%s/tags/%s", c.addr, url.PathEscape(tag))) if err != nil { if httputil.IsNotFound(err) { return core.Digest{}, ErrTagNotFound