Skip to content

Obsolete obsolete tag on WatchAsync? #1758

@WilvanBil

Description

@WilvanBil

[Obsolete("This method will be deprecated in future versions. Please use the WatchAsync method instead.")]

I upgraded from 17.0.14 to 19.0.2 and noticed this behaviour.

                    await foreach (var (type, item) in response.WatchAsync<V1Pod, V1PodList>(onError: e => throw e, cancellationToken: stoppingToken).WithCancellation(stoppingToken))

This does not work, so I tried to follow the instruction of the obsolete tag, but I can't seem to find the correct WatchAsync method.
What am I missing?

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