Skip to content

Commit

Permalink
terraform: tweak diffs didn't match output spacing
Browse files Browse the repository at this point in the history
Use four-space indent to catch `<pre>` formatting on GitHub for users
who copy/paste.
  • Loading branch information
phinze committed Feb 23, 2016
1 parent 5a373b0 commit b831ba3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions terraform/eval_diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@ func (n *EvalCompareDiff) Eval(ctx EvalContext) (interface{}, error) {
"Terraform and should be reported as a GitHub Issue.\n"+
"\n"+
"Please include the following information in your report:\n"+
" Terraform Version: %s\n"+
" Resource ID: %s\n"+
" Mismatch reason: %s\n"+
" Diff One (usually from plan): %#v\n"+
" Diff Two (usually from apply): %#v\n"+
"\n"+
"Also include as much context as you can about your config, state,\n"+
" and the steps you performed to trigger this error.\n",
" Terraform Version: %s\n"+
" Resource ID: %s\n"+
" Mismatch reason: %s\n"+
" Diff One (usually from plan): %#v\n"+
" Diff Two (usually from apply): %#v\n"+
"\n"+
"Also include as much context as you can about your config, state, "+
"and the steps you performed to trigger this error.\n",
n.Info.Id, Version, n.Info.Id, reason, one, two)
}

Expand Down

0 comments on commit b831ba3

Please sign in to comment.