fix MissingCasesInEnumSwitch (#5595)
Non-exhaustive switch; either add a default or handle the remaining cases: VALUE, UNKNOWN Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
This commit is contained in:
parent
3bc94cbb68
commit
7d5d8b4335
|
|
@ -126,6 +126,8 @@ public class SkywalkingMeterRegistry extends MeterRegistry {
|
||||||
case DURATION:
|
case DURATION:
|
||||||
meterName = baseName + "_duration_sum";
|
meterName = baseName + "_duration_sum";
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isCounter) {
|
if (isCounter) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue