2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-08 03:50:49 +00:00

Merge pull request #468 from ckemper67/s3-logging

Added missing handle to the s3.Stat log message output
This commit is contained in:
Alexander Neumann 2016-02-21 19:13:10 +01:00
commit 9a822285eb

View File

@ -132,7 +132,7 @@ func (be s3) Save(h backend.Handle, p []byte) (err error) {
// Stat returns information about a blob.
func (be s3) Stat(h backend.Handle) (backend.BlobInfo, error) {
debug.Log("s3.Stat", "%v")
debug.Log("s3.Stat", "%v", h)
path := be.s3path(h.Type, h.Name)
obj, err := be.client.GetObject(be.bucketname, path)
if err != nil {