Skip to content

Commit 4340423

Browse files
committed
Remove workaround for reflect.Value holding a typed nil
1 parent 8901e30 commit 4340423

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

oracle/common.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@ func convertValue(val interface{}) interface{} {
171171
val = v.Interface()
172172
}
173173

174-
if v.Kind() == reflect.Ptr && v.IsNil() {
175-
return nil
176-
}
177-
178174
switch v := val.(type) {
179175
case json.RawMessage:
180176
if v == nil {

0 commit comments

Comments
 (0)