
pznamenskyandyxxhero
c25d16a438
add trackLogsUntilReady flag (#2814)
* add trackLogsUntilReady flag
Signed-off-by: pznamensky <kompastver@gmail.com>
* refactor(kubedog): flatten nested conditionals in trackLogsUntilReady filter
- podLogFilter.update: replace nested if-found/if-uid block with a single
combined guard plus a no-op delete
- podLogFilter.watch: extract cutoffTrackedKind predicate and
watchNamespacePods helper; use RWTransactionErr (kubedog's own idiom)
instead of capturing err in plain RWTransaction closures, removing the
'if err == nil { inf.Run() }' nesting
- TrackResources: extract newStartupLogFilter guard-clause helper so the
printer wiring stays flat
- add table tests for the new helpers
No behavior change; race tests and golangci-lint pass.
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: pznamensky <kompastver@gmail.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
Co-authored-by: yxxhero <aiopsclub@163.com>
2026-10-04 08:49:05 +08:00
..
2026-05-07 21:50:05 +08:00
2026-09-16 13:29:02 +08:00
2026-09-16 13:29:02 +08:00
2026-09-16 13:29:02 +08:00
2026-09-21 07:48:50 +08:00
2026-06-15 16:31:46 +08:00
2026-09-16 13:29:02 +08:00
2026-05-07 21:50:05 +08:00
2026-05-07 21:50:05 +08:00
2026-05-07 21:50:05 +08:00
2026-10-04 08:49:05 +08:00
2026-10-04 08:49:05 +08:00
2026-09-16 13:29:02 +08:00
2026-09-16 13:29:02 +08:00
2026-07-01 14:44:16 +08:00
2026-09-03 06:26:46 +08:00
2026-09-16 13:29:02 +08:00
2026-06-28 15:28:05 +08:00
2026-09-16 13:29:02 +08:00
2026-09-16 13:29:02 +08:00
2026-06-28 12:19:33 +08:00
2026-09-16 13:29:02 +08:00
2026-09-16 13:29:02 +08:00
2026-05-20 08:44:14 +08:00
2026-09-03 06:26:46 +08:00
2026-09-03 06:26:46 +08:00
2026-09-16 13:29:02 +08:00
2026-06-22 16:52:35 +08:00
2026-09-16 13:29:02 +08:00
2026-09-23 13:14:13 +08:00
2026-04-25 17:18:39 +08:00
2026-09-16 13:29:02 +08:00
2026-07-01 18:44:43 +08:00
2026-09-16 13:29:02 +08:00
2026-09-16 13:29:02 +08:00
2026-09-16 13:29:02 +08:00
2026-09-15 07:35:09 +08:00
2026-09-16 13:29:02 +08:00
2026-09-16 13:29:02 +08:00
2026-09-16 13:29:02 +08:00
2026-09-16 13:29:02 +08:00
2026-09-30 09:00:23 +08:00
2026-10-04 08:49:05 +08:00
2026-09-13 09:16:26 +08:00
2026-09-13 09:16:26 +08:00
2026-10-04 08:49:05 +08:00
2026-04-12 09:44:49 +08:00
2026-04-12 09:44:49 +08:00
2026-09-07 16:50:25 +08:00