Skip to content

Commit

Permalink
Merge pull request #10381 from hashicorp/f-cv-fix-missing-var-msg
Browse files Browse the repository at this point in the history
Fix link in error for missing variable
  • Loading branch information
Mahmood Ali committed Apr 14, 2021
2 parents dca5be6 + a91a211 commit c91bd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobspec2/types.variables.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (v *Variable) Value() (cty.Value, hcl.Diagnostics) {
Severity: hcl.DiagError,
Summary: fmt.Sprintf("Unset variable %q", v.Name),
Detail: "A used variable must be set or have a default value; see " +
"https://packer.io/docs/configuration/from-1.5/syntax for " +
"https://www.nomadproject.io/docs/job-specification/hcl2/variables for " +
"details.",
Context: v.Range.Ptr(),
}}
Expand Down

0 comments on commit c91bd23

Please sign in to comment.