Skip to content

Commit

Permalink
explicity return nil
Browse files Browse the repository at this point in the history
  • Loading branch information
beeceej committed Jan 19, 2019
1 parent 5f3329a commit 0ad4058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inflight.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func defaultObjectKeyFunc() (string, error) {
if u, err = uuid.NewV4(); err != nil {
return "", err
}
return u.String(), err
return u.String(), nil
}

// Inflight is a structure which provides an interface to retrieving and writing data to s3,
Expand Down

0 comments on commit 0ad4058

Please sign in to comment.