未验证 提交 7d5d8b43 编写于 作者: K Kdump 提交者: GitHub

fix MissingCasesInEnumSwitch (#5595)

Non-exhaustive switch; either add a default or handle the remaining cases: VALUE, UNKNOWN
Co-authored-by: wu-sheng's avatar吴晟 Wu Sheng <wu.sheng@foxmail.com>
上级 3bc94cbb
......@@ -126,6 +126,8 @@ public class SkywalkingMeterRegistry extends MeterRegistry {
case DURATION:
meterName = baseName + "_duration_sum";
break;
default:
break;
}
if (isCounter) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册