mirror of
https://github.com/helm/helm.git
synced 2026-04-25 08:10:48 -04:00
Merge pull request #13644 from mattfarina/backport-13583
fix: check group for resource info match (v3 backport)
This commit is contained in:
commit
9aff8bdaa0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue