Skip to content

Commit 5075778

Browse files
committed
Remove workaround for reflect.Value holding a typed nil
1 parent 0166c04 commit 5075778

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
@@ -169,10 +169,6 @@ func convertValue(val interface{}) interface{} {
169169
val = v.Interface()
170170
}
171171

172-
if v.Kind() == reflect.Ptr && v.IsNil() {
173-
return nil
174-
}
175-
176172
switch v := val.(type) {
177173
case bool:
178174
if v {

0 commit comments

Comments
 (0)