()
| 61 | } |
| 62 | |
| 63 | func (b unknownBody) JustAttributes() (hcl.Attributes, hcl.Diagnostics) { |
| 64 | attrs, diags := b.template.JustAttributes() |
| 65 | attrs = b.fixupAttrs(attrs) |
| 66 | |
| 67 | // We're intentionally preserving the diagnostics reported from the |
| 68 | // inner body so that we can still report where the template body doesn't |
| 69 | // match the requested schema. |
| 70 | return attrs, diags |
| 71 | } |
| 72 | |
| 73 | func (b unknownBody) MissingItemRange() hcl.Range { |
| 74 | return b.template.MissingItemRange() |
nothing calls this directly
no test coverage detected