logging adjustments
Some checks are pending
CI / Lint (push) Waiting to run
CI / Test (push) Waiting to run
CI / End-to-End (push) Waiting to run
CI / Publish Docker (push) Blocked by required conditions
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-10-16 16:34:30 +11:00
parent b46369811b
commit c8ae94fb43
3 changed files with 7 additions and 5 deletions

View File

@@ -258,7 +258,7 @@ func getFieldValue(field reflect.Value) interface{} {
if ni.Valid {
return ni.Int64
}
return 0
return -1
case sql.NullFloat64:
nf := field.Interface().(sql.NullFloat64)
if nf.Valid {