diff --git a/builtin/myplugin/host/alwaystrue.go b/builtin/myplugin/host/alwaystrue.go index e251d7e2b..6facce732 100644 --- a/builtin/myplugin/host/alwaystrue.go +++ b/builtin/myplugin/host/alwaystrue.go @@ -17,7 +17,7 @@ type AlwaysTrueHost struct { } // DetectFunc implements component.Host -func (h *AlwaysTrueHost) DetectFunc() interface{} { +func (h *AlwaysTrueHost) HostDetectFunc() interface{} { return h.Detect } diff --git a/builtin/otherplugin/guest/alwaystrue.go b/builtin/otherplugin/guest/alwaystrue.go index 2232b1c86..fdb357985 100644 --- a/builtin/otherplugin/guest/alwaystrue.go +++ b/builtin/otherplugin/guest/alwaystrue.go @@ -17,7 +17,7 @@ type AlwaysTrueGuest struct { } // DetectFunc implements component.Guest -func (h *AlwaysTrueGuest) DetectFunc() interface{} { +func (h *AlwaysTrueGuest) GuestDetectFunc() interface{} { return h.Detect }