Skip to content

Commit

Permalink
internal/util/k8sutil: remove old MatchingFields helper (#2957)
Browse files Browse the repository at this point in the history
  • Loading branch information
estroz committed May 4, 2020
1 parent ad40a2e commit 3e920eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.
43 changes: 0 additions & 43 deletions internal/util/k8sutil/options.go

This file was deleted.

3 changes: 1 addition & 2 deletions pkg/ansible/proxy/cache_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"regexp"
"strings"

"github.com/operator-framework/operator-sdk/internal/util/k8sutil"
"github.com/operator-framework/operator-sdk/pkg/ansible/proxy/controllermap"
"github.com/operator-framework/operator-sdk/pkg/ansible/proxy/requestfactory"
k8sRequest "github.com/operator-framework/operator-sdk/pkg/ansible/proxy/requestfactory"
Expand Down Expand Up @@ -267,7 +266,7 @@ func (c *cacheResponseHandler) getListFromCache(r *requestfactory.RequestInfo, r
log.Error(err, "Unable to parse field selectors for the client")
return nil, err
}
clientListOpts = append(clientListOpts, k8sutil.MatchingFields{Sel: sel})
clientListOpts = append(clientListOpts, client.MatchingFieldsSelector{Selector: sel})
}
k.Kind = k.Kind + "List"
un := unstructured.UnstructuredList{}
Expand Down

0 comments on commit 3e920eb

Please sign in to comment.