Skip to content

Commit

Permalink
Rename fileter.go to objectutil.go
Browse files Browse the repository at this point in the history
Signed-off-by: varshaprasad96 <[email protected]>
  • Loading branch information
varshaprasad96 committed Apr 14, 2021
1 parent 52de4a8 commit d398be0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/client/namespaced_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func (n *namespacedClient) RESTMapper() meta.RESTMapper {

// isNamespaced returns true if the object is namespace scoped.
// For unstructured objects the gvk is found from the object itself.
// TODO: this is repetitive code. Remove this and use ojectutil.IsNamespaced.
func isNamespaced(c Client, obj runtime.Object) (bool, error) {
var gvk schema.GroupVersionKind
var err error
Expand Down
File renamed without changes.

0 comments on commit d398be0

Please sign in to comment.