Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
hweawer committed Jan 15, 2025
1 parent 1f56a42 commit 48de62c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/agentclient/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 48de62c

Please sign in to comment.