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

Fix broken `make lint` on macbooks
This commit is contained in:
Semir Patel 2023-11-13 11:19:50 -06:00 committed by GitHub
parent b21851c903
commit 219283d6ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}