mail-*-notification: remove redundant required = false

This commit is contained in:
Alexander Aleksandrovič Klimov 2023-04-14 12:22:27 +02:00 committed by GitHub
parent 7f0aaf9b79
commit a85892ccb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 11 deletions

View File

@ -43,9 +43,7 @@ object NotificationCommand "mail-host-notification" {
required = true required = true
value = "$notification_hoststate$" value = "$notification_hoststate$"
} }
"-X" = { "-X" = "$notification_hostnotes$"
required = false
value = "$notification_hostnotes$"
"-t" = { "-t" = {
required = true required = true
value = "$notification_type$" value = "$notification_type$"
@ -114,14 +112,8 @@ object NotificationCommand "mail-service-notification" {
required = true required = true
value = "$notification_type$" value = "$notification_type$"
} }
"-X" = { "-X" = "$notification_hostnotes$"
required = false "-x" = "$notification_servicenotes$"
value = "$notification_hostnotes$"
}
"-x" = {
required = false
value = "$notification_servicenotes$"
}
"-u" = { "-u" = {
required = true required = true
value = "$notification_servicedisplayname$" value = "$notification_servicedisplayname$"