unhack: fix broken `make lint` on macbooks (#19611)

Fix broken `make lint` on macbooks
pull/19621/head
Semir Patel 1 year ago committed by GitHub
parent b21851c903
commit 219283d6ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,5 +14,5 @@ import (
func (l *LogFile) createTime(stat os.FileInfo) time.Time {
stat_t := stat.Sys().(*syscall.Stat_t)
createTime := stat_t.Ctimespec
return time.Unix(int64(createTime.Sec), int64(createTime.Nsec))
return time.Unix(int64(createTime.Sec), int64(createTime.Nsec)) //nolint:unconvert
}

Loading…
Cancel
Save