Remove Equals() from v1beta2 Tags API
@@ -20,7 +20,6 @@ import (
"fmt"
"regexp"
- "github.com/google/go-cmp/cmp"
"k8s.io/apimachinery/pkg/types"
"k8s.io/apimachinery/pkg/util/validation/field"
@@ -30,12 +29,6 @@ import (
// Tags defines a map of tags.
type Tags map[string]string
-// Equals returns true if the tags are equal.
-// This func is deprecated and should not be used.
-func (t Tags) Equals(other Tags) bool {
- return cmp.Equal(t, other)
-}
-
// 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.
func (t Tags) HasOwned(cluster string) bool {
value, ok := t[ClusterTagKey(cluster)]
