Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listing all services in catalog service is missing filter parameter #344

Open
flipper opened this issue Jul 6, 2024 · 1 comment
Open

Comments

@flipper
Copy link

flipper commented Jul 6, 2024

/// <summary>
/// Services is used to query for all known services
/// </summary>
/// <param name="q">Customized query options</param>
/// <param name="ct">Cancellation token for long poll request. If set, OperationCanceledException will be thrown if the request is cancelled before completing</param>
/// <returns>A list of all services</returns>
public Task<QueryResult<Dictionary<string, string[]>>> Services(QueryOptions q, CancellationToken ct = default)
{
return _client.Get<Dictionary<string, string[]>>("/v1/catalog/services", q).Execute(ct);
}

https://developer.hashicorp.com/consul/api-docs/catalog#filter-1

@marcin-krystianc
Copy link
Contributor

HI @flipper , thanks for raising the issue.
Are you willing to open a PR to add the missing filter parameter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants