Skip to content

Commit

Permalink
Fix modifications not reflected in darwin version
Browse files Browse the repository at this point in the history
  • Loading branch information
mtardy committed Sep 30, 2022
1 parent df47a5e commit 91e1226
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/plugins/runtime/runtime_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
2 changes: 1 addition & 1 deletion pkg/plugins/syscalls/syscalls_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
2 changes: 1 addition & 1 deletion pkg/plugins/usernamespace/usernamespace_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

0 comments on commit 91e1226

Please # to comment.