mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 11:07:06 +00:00
(fix)(headless) opt checkTag for tag distribution (#930)
This commit is contained in:
@@ -76,8 +76,8 @@ public class TagQueryServiceImpl implements TagQueryService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void checkTag(TagResp tag) throws Exception {
|
private void checkTag(TagResp tag) throws Exception {
|
||||||
if (Objects.nonNull(tag) && TagDefineType.METRIC.equals(tag.getTagDefineType())) {
|
if (Objects.nonNull(tag) && TagDefineType.METRIC.name().equalsIgnoreCase(tag.getTagDefineType())) {
|
||||||
throw new Exception("do not support value distribution query for tag: " + tag.getBizName());
|
throw new Exception("do not support value distribution query for tag (from metric): " + tag.getBizName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user