Update all go-deps (#3259)

This commit is contained in:
Harshavardhana
2024-03-12 00:47:35 -07:00
committed by GitHub
parent 39bf627b0a
commit 3189ebdfef
5 changed files with 141 additions and 424 deletions

View File

@@ -278,7 +278,8 @@ func (c mcClient) list(ctx context.Context, opts mc.ListOptions) <-chan *mc.Clie
}
func (c mcClient) get(ctx context.Context, opts mc.GetOptions) (io.ReadCloser, *probe.Error) {
return c.client.Get(ctx, opts)
rd, _, err := c.client.Get(ctx, opts)
return rd, err
}
func (c mcClient) shareDownload(ctx context.Context, versionID string, expires time.Duration) (string, *probe.Error) {