Skip to content

GenericClient.WatchAsync/WatchNamespacedAsync ignore method parameters #1499

Closed

Description

@alex-zyl

Describe the bug
A clear and concise description of what the bug is.

Kubernetes C# SDK Client Version
13.0.1

Server Kubernetes Version
1.23.0

Dotnet Runtime Version
net8

To Reproduce

Expected behavior
WatchAsync
WatchNamespacedAsync
Both methods accept onError callback and cancellation token as parameters but they're not later passed into underlying watcher

Expected

return respTask.WatchAsync<T, T>(onError, cancellationToken);

KubeConfig
not relevant

Where do you run your app with Kubernetes SDK (please complete the following information):
not relevant

Additional context

Activity

  1. tg123 commented on Jan 15, 2024

    @tg123
    Member

    good catch, could you please send a pr to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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