diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2022-04-04 11:48:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 11:48:26 +0200 |
commit | 290e299280f90fc122428906e51891fba6c50007 (patch) | |
tree | 3682bdf5fa46734b1d6575bf39e85f2f22fd1533 /routing-generator | |
parent | 64d0102f9931a01d31976e85b585b9e63894f08e (diff) |
Revert "Jonmv/misc 6"
Diffstat (limited to 'routing-generator')
-rw-r--r-- | routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/nginx/NginxMetricsReporter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/nginx/NginxMetricsReporter.java b/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/nginx/NginxMetricsReporter.java index b9ab1dbe9b6..79381b8c99e 100644 --- a/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/nginx/NginxMetricsReporter.java +++ b/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/nginx/NginxMetricsReporter.java @@ -58,7 +58,7 @@ public class NginxMetricsReporter extends AbstractComponent implements Runnable @Inject public NginxMetricsReporter(ApplicationIdConfig applicationId, Metric metric, HealthStatus healthStatus, RoutingGenerator routingGenerator) { - this(ApplicationId.from(applicationId), metric, healthStatus, FileSystems.getDefault(), interval, routingGenerator::routingTable); + this(new ApplicationId(applicationId), metric, healthStatus, FileSystems.getDefault(), interval, routingGenerator::routingTable); } NginxMetricsReporter(ApplicationId application, Metric metric, HealthStatus healthStatus, FileSystem fileSystem, Duration interval, |