Skip to content

Commit 8e5fb02

Browse files
authored
Update schema_proxy.go
1 parent 55359a7 commit 8e5fb02

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

datamodel/high/base/schema_proxy.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ func (sp *SchemaProxy) Schema() *Schema {
116116
loc := fmt.Sprintf("%s:%d:%d", idx.GetSpecAbsolutePath(), sp.schema.GetValueNode().Line, sp.schema.GetValueNode().Column)
117117
if seen, ok := idx.GetHighCache().Load(loc); ok {
118118
idx.HighCacheHit()
119-
// Return cached schema without modification to avoid race conditions
120-
// NOTE: ParentProxy may not be set correctly for cached schemas
121119
return seen.(*Schema)
122120
} else {
123121
idx.HighCacheMiss()

0 commit comments

Comments
 (0)