Differentiate guest and host plugins
This commit is contained in:
parent
6b007f27bb
commit
545ddbdc74
@ -17,7 +17,7 @@ type AlwaysTrueHost struct {
|
||||
}
|
||||
|
||||
// DetectFunc implements component.Host
|
||||
func (h *AlwaysTrueHost) DetectFunc() interface{} {
|
||||
func (h *AlwaysTrueHost) HostDetectFunc() interface{} {
|
||||
return h.Detect
|
||||
}
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ type AlwaysTrueGuest struct {
|
||||
}
|
||||
|
||||
// DetectFunc implements component.Guest
|
||||
func (h *AlwaysTrueGuest) DetectFunc() interface{} {
|
||||
func (h *AlwaysTrueGuest) GuestDetectFunc() interface{} {
|
||||
return h.Detect
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user