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 }