Skip to content

Commit 8c8b9a9

Browse files
committed
fix formatting
1 parent 3b1ff0f commit 8c8b9a9

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

apps/relay/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func main() {
108108
defer cleanupTracer()
109109

110110
h := hub.New()
111-
111+
112112
srv := httphandler.NewServer(h)
113113

114114
http.HandleFunc("/agent/connect", srv.HandleAgent)

apps/relay/pkg/config/config.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ type Config struct {
2222
// OpenTelemetry configuration
2323
OTELServiceName string `envconfig:"OTEL_SERVICE_NAME" default:"ctrlplane/relay"`
2424
OTELExporterOTLPEndpoint string `envconfig:"OTEL_EXPORTER_OTLP_ENDPOINT" default:"localhost:4318"`
25-
2625
}

apps/relay/pkg/httphandler/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,4 @@ func (s *Server) HandleListAgents(w http.ResponseWriter, r *http.Request) {
162162
func (s *Server) ListAgents() []*relay.AgentInfo {
163163
agents, _ := s.hub.ListAgents(context.Background(), nil)
164164
return agents
165-
}
165+
}

0 commit comments

Comments
 (0)