Skip to content

Broken resource kind logging #1945

@tatsuhiro-t

Description

@tatsuhiro-t

#1827 introduced this funny bug that kind is logged in unexpected way.

More specifically,

lowerCamelCaseKind := strings.ToLower(gvk.Kind[:1]) + gvk.Kind[1:]

If gvk.Kind is "APIService", I expect "apiService", but the current code produces and logs "aPIService".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions