Skip to content

Commit cd43170

Browse files
debug nil ptr
1 parent 89d9b91 commit cd43170

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

datamodel/high/base/schema_proxy.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,9 @@ func (sp *SchemaProxy) BuildTempSchema() (*Schema, error) {
168168
if sp == nil {
169169
return nil, nil
170170
}
171-
s := sp.schema.Value.TempSchema()
171+
schema := sp.schema
172+
value := schema.Value
173+
s := value.TempSchema()
172174
if s == nil {
173175
return nil, sp.schema.Value.GetBuildError()
174176
}

0 commit comments

Comments
 (0)