Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

meta tag records must be optional in meta tag upsert requests#1473

Merged
replay merged 1 commit intomasterfrom
specifying_meta_tags_must_be_optional
Sep 25, 2019
Merged

meta tag records must be optional in meta tag upsert requests#1473
replay merged 1 commit intomasterfrom
specifying_meta_tags_must_be_optional

Conversation

@replay
Copy link
Copy Markdown
Contributor

@replay replay commented Sep 24, 2019

This fixes a bug.

Specifying meta tags in upsert requests must be optional, because if none are specified then this results in the deletion of an existing meta record. This behavior is documented here:

https://github.com/grafana/metrictank/blob/master/docs/http-api.md#adding-updating-deleting-meta-records

Copy link
Copy Markdown
Contributor

@fkaleo fkaleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@replay replay merged commit 02866ae into master Sep 25, 2019
@replay replay deleted the specifying_meta_tags_must_be_optional branch September 25, 2019 05:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants