mirror of https://github.com/status-im/consul.git
unhack: fix broken `make lint` on macbooks (#19611)
Fix broken `make lint` on macbooks
This commit is contained in:
parent
b21851c903
commit
219283d6ae
|
@ -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…
Reference in New Issue