Skip to content

object return by client-go informer don't have api Kind info #308

@wangweihong

Description

@wangweihong

When I use informer to watch cluster resource infos, I find runtime.Object return by informer don't include object Kind info.
fmt.Println(obj.GetObjectKind().GetVersionKind().String()) print /, Kind=

Metadata

Metadata

Assignees

Labels

lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions