Skip to content

Commit a2c2339

Browse files
committed
🤖 fix: detect pod log truncation
1 parent 252a378 commit a2c2339

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎internal/app/mcpapp/tools.go‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,9 +309,8 @@ func registerTools(server *mcp.Server, k8sClient client.Client, clientset kubern
309309
}
310310

311311
logOptions := &corev1.PodLogOptions{
312-
Container: input.Container,
313-
TailLines: tailLines,
314-
LimitBytes: &limitBytes,
312+
Container: input.Container,
313+
TailLines: tailLines,
315314
}
316315
stream, err := clientset.CoreV1().Pods(input.Namespace).GetLogs(input.Name, logOptions).Stream(ctx)
317316
if err != nil {

0 commit comments

Comments
 (0)