mirror of https://github.com/helm/helm.git
fix: Use full GVK for resource match
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
This commit is contained in:
parent
b25a51b291
commit
16bce63994
|
@ -81,5 +81,5 @@ func (r ResourceList) Intersect(rs ResourceList) ResourceList {
|
|||
|
||||
// isMatchingInfo returns true if infos match on Name and GroupVersionKind.
|
||||
func isMatchingInfo(a, b *resource.Info) bool {
|
||||
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
|
||||
return a.Name == b.Name && a.Namespace == b.Namespace && a.Mapping.GroupVersionKind == b.Mapping.GroupVersionKind
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue