quote template example

This commit is contained in:
Adrien Delorme 2021-02-15 13:41:23 +01:00
parent 632e918c52
commit 7809242f41
1 changed files with 2 additions and 2 deletions

View File

@ -111,8 +111,8 @@ func decodeRequiredPluginsBlock(block *hcl.Block) (*RequiredPlugins, hcl.Diagnos
Detail: fmt.Sprintf(`'%s = "%s"' plugin requirement calls are not possible.`+
` You must define a whole block. For example:`+"\n"+
`%[1]s = {`+"\n"+
` source = github.com/hashicorp/%[1]s`+"\n"+
` version = %[2]s`+"\n"+`}`,
` source = "github.com/hashicorp/%[1]s"`+"\n"+
` version = "%[2]s"`+"\n"+`}`,
name, c),
Subject: attr.Range.Ptr(),
})