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 26, 2023
1 parent e2b35df commit a77b50b
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 a77b50b

Please sign in to comment.