diff --git a/util/runtime/statfs_default.go b/util/runtime/statfs_default.go index 8d283c1e4..78cfb1fe4 100644 --- a/util/runtime/statfs_default.go +++ b/util/runtime/statfs_default.go @@ -71,7 +71,8 @@ func Statfs(path string) string { var fs syscall.Statfs_t err := syscall.Statfs(path, &fs) - //nolint:unconvert // This ensure Type format on all Platforms + // nolintlint might cry out depending on the architecture (e.g. ARM64), so ignore it. + //nolint:unconvert,nolintlint // This ensures Type format on all Platforms. localType := int64(fs.Type) if err != nil { return strconv.FormatInt(localType, 16)