Skip to content

Commit 0802913

Browse files
committed
add depth to json
1 parent 251656b commit 0802913

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

certgraph.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ func (d *DomainNode) ToMap() map[string]string {
127127
m["id"] = d.Domain
128128
m["status"] = d.Status.String()
129129
m["root"] = strconv.FormatBool(d.Root)
130+
m["depth"] = d.Depth
130131
return m
131132
}
132133

0 commit comments

Comments
 (0)