Skip to content

Commit

Permalink
Fix golint line length error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibrahim Jarif committed Dec 26, 2019
1 parent fa092cb commit b68e930
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion value.go
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,8 @@ func (lf *logFile) open(path string, flags uint32) error {
return errFile(err, lf.path, "Unable to run file.Stat")
}
sz := fi.Size()
y.AssertTruef(sz <= math.MaxUint32, "file size: %d greater than %d", uint32(sz), uint32(math.MaxUint32))
y.AssertTruef(sz <= math.MaxUint32, "file size: %d greater than %d",
uint32(sz), uint32(math.MaxUint32))
lf.size = uint32(sz)
if sz < vlogHeaderSize {
// Every vlog file should have at least vlogHeaderSize. If it is less than vlogHeaderSize
Expand Down

0 comments on commit b68e930

Please sign in to comment.