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 Oct 18, 2023
1 parent 666203b commit b1f015c
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 b1f015c

Please sign in to comment.