Merge pull request #1462 from liuchang23/master

enhance log message of oss driver
pull/1437/merge
Richard Scothern 2016-02-16 10:49:18 -08:00
commit d126752d97
1 changed files with 3 additions and 3 deletions

View File

@ -744,9 +744,9 @@ func (d *driver) URLFor(ctx context.Context, path string, options map[string]int
}
}
logrus.Infof("methodString: %s, expiresTime: %v", methodString, expiresTime)
testURL := d.Bucket.SignedURLWithMethod(methodString, d.ossPath(path), expiresTime, nil, nil)
logrus.Infof("testURL: %s", testURL)
return testURL, nil
signedURL := d.Bucket.SignedURLWithMethod(methodString, d.ossPath(path), expiresTime, nil, nil)
logrus.Infof("signed URL: %s", signedURL)
return signedURL, nil
}
func (d *driver) ossPath(path string) string {