Skip to content

Commit

Permalink
fix lint - drop else block
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Sep 25, 2023
1 parent 604ec8a commit 3cfa9aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/serve/s3/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ func getFileHash(node interface{}) string {
return ""
}
return h.Sums()[Opt.hashType]
} else {
o = fsObj
}
o = fsObj
case fs.Object:
o = b
}
Expand Down

0 comments on commit 3cfa9aa

Please sign in to comment.