Skip to content

Commit 34de4d6

Browse files
committed
fix: remove unused entry type in MCP handleMetrics to pass lint
1 parent eaeae39 commit 34de4d6

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎integrations/mcp-server/server.go‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -417,15 +417,6 @@ func (s *Server) handleMetrics(args map[string]interface{}) (string, error) {
417417

418418
lines := strings.Split(strings.TrimSpace(string(data)), "\n")
419419

420-
// Parse and filter entries
421-
type entry struct {
422-
action string
423-
module string
424-
}
425-
426-
cutoff := fmt.Sprintf("%d-", days) // simplified; real impl would use time parsing
427-
_ = cutoff
428-
429420
actionCounts := map[string]int{}
430421
moduleCounts := map[string]int{}
431422
total := 0

0 commit comments

Comments
 (0)