Commit 72c9aa2
fix: use CommunityAnalyzerArgs instance to prevent state leaking across calls
argparse only sets defaults when the attribute doesn't already exist on
the namespace. Using the class directly meant attributes set by one call
(e.g. analyzer="kube-linter") persisted on the class and were not reset
to None on subsequent calls without --analyzer.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e859755 commit 72c9aa2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
0 commit comments