We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 874fcd3 + 0000616 commit 82a3a5bCopy full SHA for 82a3a5b
api/v1beta2/tags.go
@@ -20,7 +20,6 @@ import (
20
"fmt"
21
"regexp"
22
23
- "github.com/google/go-cmp/cmp"
24
"k8s.io/apimachinery/pkg/types"
25
"k8s.io/apimachinery/pkg/util/validation/field"
26
@@ -30,12 +29,6 @@ import (
30
29
// Tags defines a map of tags.
31
type Tags map[string]string
32
33
-// Equals returns true if the tags are equal.
34
-// This func is deprecated and should not be used.
35
-func (t Tags) Equals(other Tags) bool {
36
- return cmp.Equal(t, other)
37
-}
38
-
39
// HasOwned returns true if the tags contains a tag that marks the resource as owned by the cluster from the perspective of this management tooling.
40
func (t Tags) HasOwned(cluster string) bool {
41
value, ok := t[ClusterTagKey(cluster)]
0 commit comments