From 219283d6aef9c49ca3c96d65ee0ee15355c90d86 Mon Sep 17 00:00:00 2001 From: Semir Patel Date: Mon, 13 Nov 2023 11:19:50 -0600 Subject: [PATCH] unhack: fix broken `make lint` on macbooks (#19611) Fix broken `make lint` on macbooks --- logging/logfile_bsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging/logfile_bsd.go b/logging/logfile_bsd.go index df599358d0..21e5794245 100644 --- a/logging/logfile_bsd.go +++ b/logging/logfile_bsd.go @@ -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 }