argo-cd/controller/cache
Arata Furukawa 36ff5cf1e1
fix: copy visited map #11699 (#12667)
This commit fixed an issue #11699 that caused a warning even if the cycle didn't exist.
Fix false cycle discovery by copying the visited resource map before recursively calling of getAppRecursive.

Fixes #11699

Signed-off-by: Arata Furukawa <old.river.new@gmail.com>
Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com>
2024-05-14 15:37:20 -07:00
..
mocks Merge pull request from GHSA-2f5v-8r3f-8pww 2022-03-22 10:57:30 -07:00
cache.go fix: copy visited map #11699 (#12667) 2024-05-14 15:37:20 -07:00
cache_test.go fix: copy visited map #11699 (#12667) 2024-05-14 15:37:20 -07:00
info.go Merge pull request from GHSA-9m6p-x4h2-6frq 2024-04-26 12:24:02 +03:00
info_test.go Merge pull request from GHSA-9m6p-x4h2-6frq 2024-04-26 12:24:02 +03:00