Fix output of randomizer
This commit is contained in:
parent
d28b3f4b62
commit
d40058c3ce
2 changed files with 2 additions and 2 deletions
|
@ -207,7 +207,7 @@ func randomizeField(s *Seed, field reflect.Value, fieldType string, canBeNull bo
|
||||||
}
|
}
|
||||||
|
|
||||||
if value == nil {
|
if value == nil {
|
||||||
return errors.Errorf("unsupported type: %T", typ.String())
|
return errors.Errorf("unsupported type: %s", typ.String())
|
||||||
}
|
}
|
||||||
|
|
||||||
field.Set(reflect.ValueOf(value))
|
field.Set(reflect.ValueOf(value))
|
||||||
|
|
Loading…
Reference in a new issue