From 89f735db09b92883ccf868f445752ab0dd14ba82 Mon Sep 17 00:00:00 2001 From: Robert Coltheart Date: Sun, 10 Dec 2023 19:23:36 +1100 Subject: [PATCH] Tidy code --- .../Internal/PrometheusSerializer.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/OpenTelemetry.Exporter.Prometheus.HttpListener/Internal/PrometheusSerializer.cs b/src/OpenTelemetry.Exporter.Prometheus.HttpListener/Internal/PrometheusSerializer.cs index 85ffa915f5d..69365d4e0ff 100644 --- a/src/OpenTelemetry.Exporter.Prometheus.HttpListener/Internal/PrometheusSerializer.cs +++ b/src/OpenTelemetry.Exporter.Prometheus.HttpListener/Internal/PrometheusSerializer.cs @@ -390,8 +390,7 @@ public static int WriteTags(byte[] buffer, int cursor, Metric metric, ReadOnlyTa if (writeEnclosingBraces) { - buffer[cursor - 1] = - unchecked((byte)'}'); // Note: We write the '}' over the last written comma, which is extra. + buffer[cursor - 1] = unchecked((byte)'}'); // Note: We write the '}' over the last written comma, which is extra. } return cursor;