Skip to content

Commit 1ad3407

Browse files
Merge pull request #5395 from atlanhq/master
Sync staging
2 parents f6fa146 + e0f2a9b commit 1ad3407

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/src/main/java/org/apache/atlas/service/FeatureFlagStore.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ public void initialize() throws InterruptedException {
8383
// Add version tracking metric
8484
MeterRegistry meterRegistry = org.apache.atlas.service.metrics.MetricUtils.getMeterRegistry();
8585
Gauge.builder(METRIC_COMPONENT + "_atlas_version_enabled",
86-
null,
87-
unused -> isTagV2Enabled() ? 2.0 : 1.0)
86+
this,
87+
ref -> isTagV2Enabled() ? 2.0 : 1.0)
8888
.description("Indicates which Tag propagation version is enabled (2.0 = v2, 1.0 = v1)")
8989
.tag("component", "version")
9090
.register(meterRegistry);

0 commit comments

Comments
 (0)