diff --git a/coderd/prometheusmetrics/collector.go b/coderd/prometheusmetrics/collector.go index 8839553a1ffdd..45eb479640970 100644 --- a/coderd/prometheusmetrics/collector.go +++ b/coderd/prometheusmetrics/collector.go @@ -57,8 +57,7 @@ func (v *CachedGaugeVec) Collect(ch chan<- prometheus.Metric) { func (v *CachedGaugeVec) WithLabelValues(operation VectorOperation, value float64, labelValues ...string) { switch operation { - case VectorOperationAdd: - case VectorOperationSet: + case VectorOperationAdd, VectorOperationSet: default: panic("unsupported vector operation") }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: