Skip to content

Commit 8402448

Browse files
committed
🏃 Clarify log line in apiutil.GVKForObject
Signed-off-by: Vince Prignano <[email protected]>
1 parent 6eca6bb commit 8402448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/apiutil/apimachinery.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func GVKForObject(obj runtime.Object, scheme *runtime.Scheme) (schema.GroupVersi
5353
return schema.GroupVersionKind{}, err
5454
}
5555
if isUnversioned {
56-
return schema.GroupVersionKind{}, fmt.Errorf("cannot create a new informer for the unversioned type %T", obj)
56+
return schema.GroupVersionKind{}, fmt.Errorf("cannot create group-version-kind for unversioned type %T", obj)
5757
}
5858

5959
if len(gvks) < 1 {

0 commit comments

Comments
 (0)