Reword the update notification and endpoint rule reason

This commit is contained in:
Patrick Pacher
2020-10-05 10:25:08 +02:00
parent da194c3f0d
commit fb930d7761
2 changed files with 8 additions and 8 deletions

View File

@@ -21,9 +21,9 @@ type reason struct {
}
func (r *reason) String() string {
prefix := "endpoint in blocklist: "
prefix := "denied by rule: "
if r.Permitted {
prefix = "endpoint in allowlist: "
prefix = "permitted by rule: "
}
return prefix + r.description + " " + r.Value