]> granicus.if.org Git - icinga2/commit
livestatus: custom variables return empty arrays instead of strings
authorSven Nierlein <sven@nierlein.de>
Mon, 30 Oct 2017 13:49:22 +0000 (14:49 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Thu, 7 Dec 2017 12:29:11 +0000 (13:29 +0100)
commit9ba5f30afa88cbf5273073e8563dd5873addc73a
tree94d84741f825ebbc936fe37a52c8aa6222a93923
parent3a7c54c3d1e5be424fdccef6383f53fde40e5005
livestatus: custom variables return empty arrays instead of strings

livestatus queries for custom variables should return an empty list, ex: []
instead of an empty string if there are no variables.

Signed-off-by: Sven Nierlein <sven@nierlein.de>
refs #5746
lib/livestatus/commandstable.cpp
lib/livestatus/contactstable.cpp
lib/livestatus/hoststable.cpp
lib/livestatus/servicestable.cpp
lib/livestatus/statustable.cpp