Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit ecbc9e1

Browse files
committed
Fix update image tag path
1 parent 9ea1864 commit ecbc9e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coder-sdk/image.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ func (c Client) UpdateImage(ctx context.Context, imageID string, req UpdateImage
8080

8181
// UpdateImageTags refreshes the latest digests for all tags of the image.
8282
func (c Client) UpdateImageTags(ctx context.Context, imageID string) error {
83-
return c.requestBody(ctx, http.MethodPost, "api/images/"+imageID+"/tags/update", nil, nil)
83+
return c.requestBody(ctx, http.MethodPost, "/api/images/"+imageID+"/tags/update", nil, nil)
8484
}

0 commit comments

Comments
 (0)