Skip to content

Commit

Permalink
Simplify logic slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferai committed Jul 24, 2019
1 parent f1d7c8c commit b3a1fd9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions physical/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ func NewS3Backend(conf map[string]string, logger log.Logger) (physical.Backend,
}
}

path, ok := conf["path"]
if !ok {
path = ""
}
path := conf["path"]

accessKey, ok := conf["access_key"]
if !ok {
Expand Down

0 comments on commit b3a1fd9

Please sign in to comment.