From 5d678c944ce87b802cc657cc12ee8110d29c98bf Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Sat, 29 Aug 2020 13:00:29 -0400 Subject: [PATCH] Upload progress --- cacher/cacher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cacher/cacher.go b/cacher/cacher.go index 4f46718..522bb27 100644 --- a/cacher/cacher.go +++ b/cacher/cacher.go @@ -117,7 +117,7 @@ func (c *Cacher) Save(ctx context.Context, i *SaveRequest) (retErr error) { gcsw.ObjectAttrs.ContentType = contentType gcsw.ObjectAttrs.CacheControl = cacheControl gcsw.ProgressFunc = func(soFar int64) { - c.log("uploaded %d bytes", soFar) + fmt.Printf("uploaded %d bytes", soFar) } // Create the gzip writer