Skip to content

Commit b453e8c

Browse files
committed
remove checkKagentConnectivity
1 parent 5029e57 commit b453e8c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

internal/sre/server.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ func (s *Server) handleDiagnostics(w http.ResponseWriter, r *http.Request) {
11071107
"api_server_status": "running",
11081108
"uptime": time.Since(s.startTime).String(),
11091109
"event_processing_pipeline_health": "healthy",
1110-
"kagent_api_connectivity": s.checkKagentConnectivity(),
1110+
"kagent_api_connectivity": "managed_by_controller",
11111111
"plugin_status": map[string]string{
11121112
"kubernetes_events": "active",
11131113
},
@@ -1149,11 +1149,6 @@ func (s *Server) handleMetrics(w http.ResponseWriter, r *http.Request) {
11491149
json.NewEncoder(w).Encode(metrics)
11501150
}
11511151

1152-
// checkKagentConnectivity checks if the Kagent API is reachable
1153-
func (s *Server) checkKagentConnectivity() string {
1154-
// TODO: Implement actual Kagent API connectivity check
1155-
return "unknown"
1156-
}
11571152

11581153
// handleEventTypes handles GET /api/v1/events/types/{eventType}
11591154
func (s *Server) handleEventTypes(w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)