Skip to content

Commit

Permalink
Merge pull request #2275 from IamBusy/master
Browse files Browse the repository at this point in the history
Remove unused function
  • Loading branch information
dmcgowan authored May 16, 2017
2 parents ce936a8 + 37ca688 commit 9098f84
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions registry/storage/driver/s3-goamz/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9098f84

Please sign in to comment.