|
|
@ -81,5 +81,5 @@ func (r ResourceList) Intersect(rs ResourceList) ResourceList {
|
|
|
|
|
|
|
|
|
|
|
|
// isMatchingInfo returns true if infos match on Name and GroupVersionKind.
|
|
|
|
// isMatchingInfo returns true if infos match on Name and GroupVersionKind.
|
|
|
|
func isMatchingInfo(a, b *resource.Info) bool {
|
|
|
|
func isMatchingInfo(a, b *resource.Info) bool {
|
|
|
|
return a.Name == b.Name && a.Namespace == b.Namespace && a.Mapping.GroupVersionKind.Kind == b.Mapping.GroupVersionKind.Kind
|
|
|
|
return a.Name == b.Name && a.Namespace == b.Namespace && a.Mapping.GroupVersionKind.Kind == b.Mapping.GroupVersionKind.Kind && a.Mapping.GroupVersionKind.Group == b.Mapping.GroupVersionKind.Group
|
|
|
|
}
|
|
|
|
}
|
|
|
|