From eb18024abee9c03cdd9324cfeaf10c1344a8b737 Mon Sep 17 00:00:00 2001 From: Matt Richardson Date: Thu, 28 Nov 2024 16:34:05 +1100 Subject: [PATCH] Fix capitalisation of zipkin --- .../opentelemetry/server/endpoints/OTELEndpointFactory.java | 4 ++-- ...TELEndpointHandler.java => ZipkinOTELEndpointHandler.java} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/{ZipKinOTELEndpointHandler.java => ZipkinOTELEndpointHandler.java} (96%) diff --git a/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/OTELEndpointFactory.java b/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/OTELEndpointFactory.java index afecdfa..592f6aa 100644 --- a/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/OTELEndpointFactory.java +++ b/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/OTELEndpointFactory.java @@ -2,7 +2,7 @@ import com.octopus.teamcity.opentelemetry.server.endpoints.custom.CustomOTELEndpointHandler; import com.octopus.teamcity.opentelemetry.server.endpoints.honeycomb.HoneycombOTELEndpointHandler; -import com.octopus.teamcity.opentelemetry.server.endpoints.zipkin.ZipKinOTELEndpointHandler; +import com.octopus.teamcity.opentelemetry.server.endpoints.zipkin.ZipkinOTELEndpointHandler; import jetbrains.buildServer.web.openapi.PluginDescriptor; import org.jetbrains.annotations.NotNull; @@ -30,7 +30,7 @@ public IOTELEndpointHandler getOTELEndpointHandler(OTELService otelService) case HONEYCOMB: return new HoneycombOTELEndpointHandler(pluginDescriptor); case ZIPKIN: - return new ZipKinOTELEndpointHandler(pluginDescriptor); + return new ZipkinOTELEndpointHandler(pluginDescriptor); case CUSTOM: return new CustomOTELEndpointHandler(pluginDescriptor); default: diff --git a/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipKinOTELEndpointHandler.java b/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipkinOTELEndpointHandler.java similarity index 96% rename from server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipKinOTELEndpointHandler.java rename to server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipkinOTELEndpointHandler.java index f9702bf..88ada3d 100644 --- a/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipKinOTELEndpointHandler.java +++ b/server/src/main/java/com/octopus/teamcity/opentelemetry/server/endpoints/zipkin/ZipkinOTELEndpointHandler.java @@ -15,10 +15,10 @@ import static com.octopus.teamcity.opentelemetry.common.PluginConstants.*; -public class ZipKinOTELEndpointHandler implements IOTELEndpointHandler { +public class ZipkinOTELEndpointHandler implements IOTELEndpointHandler { private final PluginDescriptor pluginDescriptor; - public ZipKinOTELEndpointHandler( + public ZipkinOTELEndpointHandler( PluginDescriptor pluginDescriptor) { this.pluginDescriptor = pluginDescriptor; }