When a release with 'installed: false' appears multiple times in the release list (due to duplicate entries or being included via needs), the isReleaseInstalled function was being called multiple times for the same release, resulting in duplicate 'Listing releases' log messages. This fix adds a deduplication check using a 'checked' map to ensure each release is only checked once, preventing duplicate helm list calls and log messages. This fixes the diff-args integration test where 'Listing releases matching ^uninstalled$' appeared twice in stderr output. Signed-off-by: yxxhero <aiopsclub@163.com> |
||
|---|---|---|
| .. | ||
| apply | ||
| apply-helm4 | ||
| apply-live | ||
| apply-live-helm4 | ||
| apply-live-stderr | ||
| apply-live-stderr-helm4 | ||
| apply-stderr | ||
| apply-stderr-helm4 | ||
| diff | ||
| diff-live | ||
| diff-live-stderr | ||
| diff-stderr | ||