Remove unused function

Signed-off-by: william wei <1342247033@qq.com>
pull/2275/head
william wei 2017-05-16 17:47:13 +08:00
parent ce936a8591
commit 37ca688dc0
1 changed files with 0 additions and 5 deletions

View File

@ -555,11 +555,6 @@ func parseError(path string, err error) error {
return err
}
func hasCode(err error, code string) bool {
s3err, ok := err.(*aws.Error)
return ok && s3err.Code == code
}
func (d *driver) getOptions() s3.Options {
return s3.Options{
SSE: d.Encrypt,