mirror of https://github.com/perkeep/perkeep.git
s3: remove debug logging
Change-Id: Idd4c3538362dd14b59ae6b150992d806ae7ff6b8
This commit is contained in:
parent
b32008ed34
commit
2fe555aeb9
|
@ -82,9 +82,6 @@ func (c *Client) Buckets() ([]*Bucket, error) {
|
||||||
|
|
||||||
// Returns 0, os.ErrNotExist if not on S3, otherwise reterr is real.
|
// Returns 0, os.ErrNotExist if not on S3, otherwise reterr is real.
|
||||||
func (c *Client) Stat(name, bucket string) (size int64, reterr error) {
|
func (c *Client) Stat(name, bucket string) (size int64, reterr error) {
|
||||||
defer func() {
|
|
||||||
log.Printf("s3 client: Stat(%q, %q) = %d, %v", name, bucket, size, reterr)
|
|
||||||
}()
|
|
||||||
req := newReq("http://" + bucket + ".s3.amazonaws.com/" + name)
|
req := newReq("http://" + bucket + ".s3.amazonaws.com/" + name)
|
||||||
req.Method = "HEAD"
|
req.Method = "HEAD"
|
||||||
c.Auth.SignRequest(req)
|
c.Auth.SignRequest(req)
|
||||||
|
|
Loading…
Reference in New Issue