configs/configupgrade: return if hil.Parse() produces an error. (#20920)
Fixes #20917
This commit is contained in:
parent
51ddc554f5
commit
3aa4ac43f9
|
@ -55,6 +55,7 @@ Value:
|
|||
Detail: fmt.Sprintf("Interpolation parsing failed: %s", err),
|
||||
Subject: hcl1PosRange(filename, tv.Pos).Ptr(),
|
||||
})
|
||||
return nil, diags
|
||||
}
|
||||
|
||||
interpSrc, interpDiags := upgradeExpr(hilNode, filename, interp, an)
|
||||
|
|
Loading…
Reference in New Issue