add evt. (#1045)
This commit is contained in:
parent
7ca3625706
commit
8b0527bf9d
1 changed files with 3 additions and 3 deletions
|
@ -367,16 +367,16 @@ func DumpTree(parser_results ParserResults, bucket_pour BucketPourInfo, details
|
||||||
switch change.Type {
|
switch change.Type {
|
||||||
case "create":
|
case "create":
|
||||||
created++
|
created++
|
||||||
detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s %s : %s\n", presep, sep, change.Type, strings.Join(change.Path, "."), green(change.To))
|
detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s evt.%s : %s\n", presep, sep, change.Type, strings.Join(change.Path, "."), green(change.To))
|
||||||
case "update":
|
case "update":
|
||||||
detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s %s : %s -> %s\n", presep, sep, change.Type, strings.Join(change.Path, "."), change.From, yellow(change.To))
|
detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s evt.%s : %s -> %s\n", presep, sep, change.Type, strings.Join(change.Path, "."), change.From, yellow(change.To))
|
||||||
if change.Path[0] == "Whitelisted" && change.To == true {
|
if change.Path[0] == "Whitelisted" && change.To == true {
|
||||||
whitelisted = true
|
whitelisted = true
|
||||||
}
|
}
|
||||||
updated++
|
updated++
|
||||||
case "delete":
|
case "delete":
|
||||||
deleted++
|
deleted++
|
||||||
detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s %s\n", presep, sep, change.Type, red(strings.Join(change.Path, ".")))
|
detailsDisplay += fmt.Sprintf("\t%s\t\t%s %s evt.%s\n", presep, sep, change.Type, red(strings.Join(change.Path, ".")))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue