Skip to content

Commit

Permalink
feat: remove deprecated SafeDeployDiff
Browse files Browse the repository at this point in the history
BREAKING CHANGE: removes depracted SafeDeployDiff use reconcilers.IgnoreAllUnexported instead

Signed-off-by: Max Brauer <[email protected]>
  • Loading branch information
mamachanko committed Mar 28, 2024
1 parent a63803b commit ab32a88
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions testing/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import (

"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"k8s.io/apimachinery/pkg/api/resource"
"k8s.io/apimachinery/pkg/fields"
"k8s.io/apimachinery/pkg/labels"
"k8s.io/apimachinery/pkg/runtime"
Expand Down Expand Up @@ -438,9 +437,6 @@ var (
return str != "" && !strings.HasPrefix(str, "Status")
}, cmp.Ignore())

// Deprecated: use reconcilers.IgnoreAllUnexported instead
SafeDeployDiff = cmpopts.IgnoreUnexported(resource.Quantity{})

NormalizeLabelSelector = cmp.Transformer("labels.Selector", func(s labels.Selector) *string {
if s == nil || s.Empty() {
return nil
Expand Down

0 comments on commit ab32a88

Please sign in to comment.