summaryrefslogtreecommitdiffhomepage
path: root/pkg/state/pretty
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-08-22 00:37:29 +0000
committergVisor bot <gvisor-bot@google.com>2020-08-22 00:37:29 +0000
commit78348244b45b27891d0585b18c63c2d750cf9260 (patch)
treef362ea7aa4a04cf6d32fb87c3130366f71406a7c /pkg/state/pretty
parent5ac6690779daaae1007b3d95bd08017f9352b40a (diff)
parent9607515aed13406a8550e8072cdaf53d4f1e437b (diff)
Merge release-20200810.0-89-g9607515ae (automated)
Diffstat (limited to 'pkg/state/pretty')
-rw-r--r--pkg/state/pretty/pretty.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/state/pretty/pretty.go b/pkg/state/pretty/pretty.go
index cf37aaa49..1375fcc38 100644
--- a/pkg/state/pretty/pretty.go
+++ b/pkg/state/pretty/pretty.go
@@ -148,7 +148,6 @@ func format(graph uint64, depth int, encoded wire.Object, html bool) (string, bo
element, ok := format(graph, depth+1, *x.Field(i), html)
allZero = allZero && !ok
items = append(items, fmt.Sprintf("\t%d: %s,", i, element))
- i++
}
items = append(items, "}")
return strings.Join(items, tabs), !allZero