Fix crash
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
This commit is contained in:
parent
8730a7e03e
commit
0097c73931
@ -29,7 +29,7 @@ func (s Spec) Validate(v *Value, defpath string) (err error) {
|
||||
if err := def.Validate(); err != nil {
|
||||
return err
|
||||
}
|
||||
merged := def.Unwrap().Fill(v)
|
||||
merged := def.Unwrap().Fill(v.Value)
|
||||
if err := merged.Err(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user