mirror of
https://github.com/status-im/consul.git
synced 2025-02-17 16:16:44 +00:00
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 {
|
func (l *LogFile) createTime(stat os.FileInfo) time.Time {
|
||||||
stat_t := stat.Sys().(*syscall.Stat_t)
|
stat_t := stat.Sys().(*syscall.Stat_t)
|
||||||
createTime := stat_t.Ctimespec
|
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…
x
Reference in New Issue
Block a user