Skip to content

Commit

Permalink
Fix comments for ErrObjectIsNewer/ErrObjectSizesMatch (peak#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonmezonur committed Apr 17, 2020
1 parent dc66543 commit 2d45404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions error/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ var (
// ErrObjectExists indicates a specified object already exists.
ErrObjectExists = fmt.Errorf("object already exists")

// ErrObjectExists indicates a specified object is newer or same age.
// ErrObjectIsNewer indicates a specified object is newer or same age.
ErrObjectIsNewer = fmt.Errorf("object is newer or same age")

// ErrObjectExists indicates the sizes of objects match.
// ErrObjectSizesMatch indicates the sizes of objects match.
ErrObjectSizesMatch = fmt.Errorf("object size matches")
)

Expand Down

0 comments on commit 2d45404

Please sign in to comment.