Skip to content

Commit

Permalink
Merge pull request #504 from mamachanko/topic/mamachanko/main/delete-…
Browse files Browse the repository at this point in the history
…safedeploydiff

feat: remove deprecated SafeDeployDiff
  • Loading branch information
scothis committed Mar 28, 2024
2 parents a9c6510 + ab32a88 commit ce74140
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 ce74140

Please sign in to comment.