Skip to content

Commit

Permalink
Upload progress
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo committed Aug 29, 2020
1 parent bcc87bb commit 5d678c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cacher/cacher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d678c9

Please sign in to comment.