Merge pull request #2275 from IamBusy/master

Remove unused function
This commit is contained in:
Derek McGowan 2017-05-16 11:51:13 -07:00 committed by GitHub
commit 9098f843d6

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,