summaryrefslogtreecommitdiff
path: root/pkg/bindings/images/build_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bindings/images/build_unix.go')
-rw-r--r--pkg/bindings/images/build_unix.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/bindings/images/build_unix.go b/pkg/bindings/images/build_unix.go
index 67a5e2998..32e2ba9af 100644
--- a/pkg/bindings/images/build_unix.go
+++ b/pkg/bindings/images/build_unix.go
@@ -11,7 +11,7 @@ import (
func checkHardLink(fi os.FileInfo) (devino, bool) {
st := fi.Sys().(*syscall.Stat_t)
return devino{
- Dev: uint64(st.Dev),
- Ino: uint64(st.Ino),
+ Dev: uint64(st.Dev), // nolint: unconvert
+ Ino: st.Ino,
}, st.Nlink > 1
}