Skip to content

Outdated user agent string #2213

@johnflavin-fw

Description

@johnflavin-fw

Describe the bug
On initialization the io.kubernetes.client.openapi.ApiClient sets a user agent string hard-coded with an old snapshot version.

setUserAgent("Kubernetes Java Client/13.0.1-SNAPSHOT");

See https://github.com/kubernetes-client/java/blob/master/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java#L106

Client Version
14.01

Java Version
Java 7

Expected behavior
If the user agent is to include the client version, the string should be automatically kept up-to-date as the version changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.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