mirror of
https://github.com/octoleo/restic.git
synced 2024-12-24 11:55:28 +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:
commit
9a822285eb
@ -132,7 +132,7 @@ func (be s3) Save(h backend.Handle, p []byte) (err error) {
|
|||||||
|
|
||||||
// Stat returns information about a blob.
|
// Stat returns information about a blob.
|
||||||
func (be s3) Stat(h backend.Handle) (backend.BlobInfo, error) {
|
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)
|
path := be.s3path(h.Type, h.Name)
|
||||||
obj, err := be.client.GetObject(be.bucketname, path)
|
obj, err := be.client.GetObject(be.bucketname, path)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user