Fix resource.Ref eq. check to properly handle wildcard paths
This commit is contained in:
parent
9f7e87f30e
commit
3643b7d23b
@ -215,6 +215,14 @@ func (r *Ref) IsWildcard() bool {
|
||||
}
|
||||
|
||||
func (a *Ref) equals(b *Ref) bool {
|
||||
if a == nil && a == b {
|
||||
return true
|
||||
}
|
||||
|
||||
if a == nil && a != b {
|
||||
return false
|
||||
}
|
||||
|
||||
if a.ResourceType != b.ResourceType {
|
||||
return false
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user