Skip to content

Commit 8ff02e0

Browse files
lint
Signed-off-by: adityachopra29 <[email protected]>
1 parent c032479 commit 8ff02e0

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

cmd/query/app/analytics/http_gateway.go

+4-6
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"net/http"
99

1010
"github.com/gorilla/mux"
11-
"go.uber.org/zap"
12-
"go.opentelemetry.io/otel/trace"
1311
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
12+
"go.opentelemetry.io/otel/trace"
13+
"go.uber.org/zap"
1414

1515
"github.com/jaegertracing/jaeger/cmd/query/app/querysvc"
1616
)
@@ -19,7 +19,7 @@ const (
1919
// paramOpsName = ""
2020
// paramServiceName = ""
2121

22-
routeGetDeepDependencies = "/api/deep-dependencies/"
22+
routeGetDeepDependencies = "/api/deep-dependencies/"
2323
)
2424

2525
// HTTPGateway exposes analytics HTTP endpoints.
@@ -54,7 +54,7 @@ func spanNameHandler(spanName string, handler http.Handler) http.Handler {
5454
})
5555
}
5656

57-
func (h * HTTPGateway) getDeepDependencies(w http.ResponseWriter, r *http.Request) {
57+
func (h *HTTPGateway) getDeepDependencies(w http.ResponseWriter, r *http.Request) {
5858
dependencies := TDdgPayload{
5959
Dependencies: []TDdgPayloadPath{
6060
{
@@ -73,8 +73,6 @@ func (h * HTTPGateway) getDeepDependencies(w http.ResponseWriter, r *http.Reques
7373
if err := json.NewEncoder(w).Encode(dependencies); err != nil {
7474
http.Error(w, "Failed to encode response", http.StatusInternalServerError)
7575
}
76-
77-
7876
}
7977

8078
// Structs that need to be used or created for deep dependencies
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Copyright (c) 2025 The Jaeger Authors.
2+
// SPDX-License-Identifier: Apache-2.0
3+
4+
package analytics

cmd/query/app/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ import (
2727
"google.golang.org/grpc/reflection"
2828

2929
"github.com/jaegertracing/jaeger-idl/proto-gen/api_v2"
30-
"github.com/jaegertracing/jaeger/cmd/query/app/apiv3"
3130
"github.com/jaegertracing/jaeger/cmd/query/app/analytics"
31+
"github.com/jaegertracing/jaeger/cmd/query/app/apiv3"
3232
"github.com/jaegertracing/jaeger/cmd/query/app/querysvc"
3333
v2querysvc "github.com/jaegertracing/jaeger/cmd/query/app/querysvc/v2/querysvc"
3434
"github.com/jaegertracing/jaeger/internal/proto/api_v3"

0 commit comments

Comments
 (0)