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") }