Skip to content

Commit 19d20cf

Browse files
committed
Run format.sh
1 parent 568b81c commit 19d20cf

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

exporters/prometheus/include/opentelemetry/exporters/prometheus/exporter_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class PrometheusExporterUtils
4040
const sdk::metrics::ResourceMetrics &data,
4141
bool populate_target_info = true,
4242
bool without_otel_scope = false,
43-
bool without_units = false,
43+
bool without_units = false,
4444
bool without_type_suffix = false);
4545

4646
private:

exporters/prometheus/src/exporter_options.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ inline bool GetPrometheusPopulateTargetInfo()
5050

5151
inline bool GetPrometheusWithoutUnits()
5252
{
53-
constexpr char kPrometheusWithoutUnits[] =
54-
"OTEL_CPP_PROMETHEUS_EXPORTER_WITHOUT_UNITS";
53+
constexpr char kPrometheusWithoutUnits[] = "OTEL_CPP_PROMETHEUS_EXPORTER_WITHOUT_UNITS";
5554
bool setting;
5655
const auto exists =
5756
opentelemetry::sdk::common::GetBoolEnvironmentVariable(kPrometheusWithoutUnits, setting);

0 commit comments

Comments
 (0)