hashicorp / hashicorp/consul

The Consul API client does not support RemoveEmptyTags in prepared queries

Open
#8,199 0 comments 0 reactions 0 assignees View on GitHub
theme/api theme/prepared-query type/docs
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

See https://github.com/hashicorp/consul/blob/master/api/prepared_query.go#L75-L84

I suppose nobody ever needed it, I will work on a PR to add it.

Also, there is a small typo in the HTTP API documentation, it says:

> The Template structure configures a prepared query as a template instead of a static query. It has two fields:
> - Type
> - Regexp
> - RemoveEmptyTags

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.