From 91e1226fa30fc410af4aa451229ff13c500a8d54 Mon Sep 17 00:00:00 2001 From: mtardy Date: Fri, 30 Sep 2022 18:30:51 +0200 Subject: [PATCH] Fix modifications not reflected in darwin version --- pkg/plugins/runtime/runtime_darwin.go | 2 +- pkg/plugins/syscalls/syscalls_darwin.go | 2 +- pkg/plugins/usernamespace/usernamespace_darwin.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/plugins/runtime/runtime_darwin.go b/pkg/plugins/runtime/runtime_darwin.go index 55ab8bb..d1084ed 100644 --- a/pkg/plugins/runtime/runtime_darwin.go +++ b/pkg/plugins/runtime/runtime_darwin.go @@ -6,6 +6,6 @@ import ( "github.com/quarkslab/kdigger/pkg/bucket" ) -func (n RuntimeBucket) Run() (bucket.Results, error) { +func (n Bucket) Run() (bucket.Results, error) { return bucket.Results{}, errors.New("runtime detection is not supported on macOS x86") } diff --git a/pkg/plugins/syscalls/syscalls_darwin.go b/pkg/plugins/syscalls/syscalls_darwin.go index 7ea070b..9e584a4 100644 --- a/pkg/plugins/syscalls/syscalls_darwin.go +++ b/pkg/plugins/syscalls/syscalls_darwin.go @@ -6,6 +6,6 @@ import ( "github.com/quarkslab/kdigger/pkg/bucket" ) -func (n SyscallsBucket) Run() (bucket.Results, error) { +func (n Bucket) Run() (bucket.Results, error) { return bucket.Results{}, errors.New("syscall scan is not supported on macOS x86") } diff --git a/pkg/plugins/usernamespace/usernamespace_darwin.go b/pkg/plugins/usernamespace/usernamespace_darwin.go index c17e7c2..98a1391 100644 --- a/pkg/plugins/usernamespace/usernamespace_darwin.go +++ b/pkg/plugins/usernamespace/usernamespace_darwin.go @@ -6,6 +6,6 @@ import ( "github.com/quarkslab/kdigger/pkg/bucket" ) -func (n UserNamespaceBucket) Run() (bucket.Results, error) { +func (n Bucket) Run() (bucket.Results, error) { return bucket.Results{}, errors.New("usernamespace detection is not supported on macOS x86") }