mirror of
https://github.com/coredns/coredns.git
synced 2026-07-24 16:40:11 -04:00
The warning added in #8216 passed the skipped file where the kept file belongs and vice versa, so it logged "using <skipped> instead of <kept>" — the reverse of what Walk actually does. Swap the arguments (and use cleanPath for both) so the message names the file that is being used. Strengthen TestWalkWarnsForDuplicateOrigin to assert the direction; it only checked that both names appeared, so the inversion passed before. Signed-off-by: maximilize <3752128+maximilize@users.noreply.github.com>
2.9 KiB
2.9 KiB