Compare commits
1 Commits
master
...
moss_debug
Author | SHA1 | Date |
---|---|---|
sylviamoss | 9aff8ac977 |
|
@ -2,6 +2,7 @@ package hcl2template
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"log"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
@ -226,6 +227,7 @@ func (c *PackerConfig) evaluateLocalVariables(locals []*LocalBlock) hcl.Diagnost
|
||||||
var retry, previousL int
|
var retry, previousL int
|
||||||
for len(locals) > 0 {
|
for len(locals) > 0 {
|
||||||
local := locals[0]
|
local := locals[0]
|
||||||
|
log.Printf("[DEBUG-10981] Eavluating local: %q", local.Name)
|
||||||
moreDiags := c.evaluateLocalVariable(local)
|
moreDiags := c.evaluateLocalVariable(local)
|
||||||
if moreDiags.HasErrors() {
|
if moreDiags.HasErrors() {
|
||||||
if len(locals) == 1 {
|
if len(locals) == 1 {
|
||||||
|
|
Loading…
Reference in New Issue