diff --git a/api/internal/wrappy/wnode.go b/api/internal/wrappy/wnode.go index d0fde84c1..901925d57 100644 --- a/api/internal/wrappy/wnode.go +++ b/api/internal/wrappy/wnode.go @@ -163,13 +163,13 @@ func (wn *WNode) MarshalJSON() ([]byte, error) { } // MatchesAnnotationSelector implements ifc.Kunstructured. -func (wn *WNode) MatchesAnnotationSelector(string) (bool, error) { - panic("TODO(#WNode) MatchesAnnotationSelector; implement or drop from API") +func (wn *WNode) MatchesAnnotationSelector(selector string) (bool, error) { + return wn.node.MatchesAnnotationSelector(selector) } // MatchesLabelSelector implements ifc.Kunstructured. -func (wn *WNode) MatchesLabelSelector(string) (bool, error) { - panic("TODO(#WNode) MatchesLabelSelector; implement or drop from API") +func (wn *WNode) MatchesLabelSelector(selector string) (bool, error) { + return wn.node.MatchesLabelSelector(selector) } // SetAnnotations implements ifc.Kunstructured.