Skip to content

Commit d398be0

Browse files
Rename fileter.go to objectutil.go
Signed-off-by: varshaprasad96 <[email protected]>
1 parent 52de4a8 commit d398be0

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

pkg/client/namespaced_client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func (n *namespacedClient) RESTMapper() meta.RESTMapper {
5757

5858
// isNamespaced returns true if the object is namespace scoped.
5959
// For unstructured objects the gvk is found from the object itself.
60+
// TODO: this is repetitive code. Remove this and use ojectutil.IsNamespaced.
6061
func isNamespaced(c Client, obj runtime.Object) (bool, error) {
6162
var gvk schema.GroupVersionKind
6263
var err error

0 commit comments

Comments
 (0)