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
value = "$notification_hoststate$"
}
"-X" = {
required = false
value = "$notification_hostnotes$"
"-X" = "$notification_hostnotes$"
"-t" = {
required = true
value = "$notification_type$"
@ -114,14 +112,8 @@ object NotificationCommand "mail-service-notification" {
required = true
value = "$notification_type$"
}
"-X" = {
required = false
value = "$notification_hostnotes$"
}
"-x" = {
required = false
value = "$notification_servicenotes$"
}
"-X" = "$notification_hostnotes$"
"-x" = "$notification_servicenotes$"
"-u" = {
required = true
value = "$notification_servicedisplayname$"