File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ type DomainNode struct {
8989 Fingerprint fingerprint
9090 Neighbors []string
9191 Status domainStatus
92- Root bool
92+ Root bool
9393}
9494
9595// constructor for DomainNode, converts domain to directDomain
@@ -211,8 +211,8 @@ func printJSONGraph() {
211211 // TODO remove the need for all these temp vars
212212 //domains := make(map[string]map[string]string)
213213 certs := make (map [string ]bool )
214- nodes := make ([]map [string ]string , 0 , 2 * len (domainGraph ))
215- links := make ([]map [string ]string , 0 , 2 * len (domainGraph ))
214+ nodes := make ([]map [string ]string , 0 , 2 * len (domainGraph ))
215+ links := make ([]map [string ]string , 0 , 2 * len (domainGraph ))
216216
217217 for domain := range domainGraph {
218218 fp := domainGraph [domain ].Fingerprint .Hex ()
@@ -222,7 +222,7 @@ func printJSONGraph() {
222222 dnode ["type" ] = "domain"
223223 dnode ["id" ] = domain
224224 dnode ["status" ] = domainGraph [domain ].Status .String ()
225- dnode ["root" ] = strconv .FormatBool (domainGraph [domain ].Root );
225+ dnode ["root" ] = strconv .FormatBool (domainGraph [domain ].Root )
226226 nodes = append (nodes , dnode )
227227
228228 // add domain -> cert
You can’t perform that action at this time.
0 commit comments