From 0097c73931e031424d8a2e0fbad1c159e1f8eb18 Mon Sep 17 00:00:00 2001 From: dubo-dubon-duponey Date: Mon, 11 Jan 2021 11:09:08 -0800 Subject: [PATCH] Fix crash Signed-off-by: dubo-dubon-duponey --- dagger/spec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dagger/spec.go b/dagger/spec.go index f84b93d0..e061ecac 100644 --- a/dagger/spec.go +++ b/dagger/spec.go @@ -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 }