"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "internal/command/format/diff.go" between
terraform-1.0.2.tar.gz and terraform-1.0.3.tar.gz

About: Terraform is a tool for building, changing, and versioning a datacenter infrastructure (written in Go).

diff.go  (terraform-1.0.2):diff.go  (terraform-1.0.3)
skipping to change at line 662 skipping to change at line 662
p.buf.WriteString("\n") p.buf.WriteString("\n")
p.buf.WriteString(strings.Repeat(" ", indent+4)) p.buf.WriteString(strings.Repeat(" ", indent+4))
p.buf.WriteString("},") p.buf.WriteString("},")
} }
p.buf.WriteString("\n") p.buf.WriteString("\n")
p.buf.WriteString(strings.Repeat(" ", indent+2)) p.buf.WriteString(strings.Repeat(" ", indent+2))
p.buf.WriteString("]") p.buf.WriteString("]")
case configschema.NestingMap: case configschema.NestingMap:
// For the sake of handling nested blocks, we'll treat a null map
// the same as an empty map since the config language doesn't
// distinguish these anyway.
old = ctyNullBlockMapAsEmpty(old)
new = ctyNullBlockMapAsEmpty(new)
oldItems := old.AsValueMap() oldItems := old.AsValueMap()
newItems := new.AsValueMap() newItems := new.AsValueMap()
allKeys := make(map[string]bool) allKeys := make(map[string]bool)
for k := range oldItems { for k := range oldItems {
allKeys[k] = true allKeys[k] = true
} }
for k := range newItems { for k := range newItems {
allKeys[k] = true allKeys[k] = true
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)