From 8cc77c5dc0c912d9c42a8f76d380a1c2afd0b4c2 Mon Sep 17 00:00:00 2001 From: jhsinger-klotho <111291520+jhsinger-klotho@users.noreply.github.com> Date: Tue, 12 Dec 2023 18:00:14 -0500 Subject: [PATCH] Update path_expansion.go --- pkg/engine2/path_selection/path_expansion.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/engine2/path_selection/path_expansion.go b/pkg/engine2/path_selection/path_expansion.go index 6bf4e334e..f20cbda85 100644 --- a/pkg/engine2/path_selection/path_expansion.go +++ b/pkg/engine2/path_selection/path_expansion.go @@ -443,6 +443,7 @@ func expandPath( valid, err := checkUniquenessValidity(ctx, source.id, target.id) if err != nil { errs = errors.Join(errs, err) + return } if !valid { return