From fd7a3a2b05e649c66f0e215b7f887bd5697cf71a Mon Sep 17 00:00:00 2001 From: NamanMahor Date: Mon, 30 Mar 2026 22:37:56 +0530 Subject: [PATCH] glob last not correctly picked --- runtime/resolvers/glob.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/resolvers/glob.go b/runtime/resolvers/glob.go index 0005d1d09fc..01f9c22fd2e 100644 --- a/runtime/resolvers/glob.go +++ b/runtime/resolvers/glob.go @@ -189,7 +189,7 @@ func newGlob(ctx context.Context, opts *runtime.ResolverOptions) (runtime.Resolv last = paths[len(paths)-props.Last] } } - if last != "" && partitionStart > last { + if last != "" && partitionStart < last { partitionStart = last }