]> granicus.if.org Git - icinga2/commit
livestatus: custom variables return empty arrays instead of strings 5746/head
authorSven Nierlein <sven@nierlein.de>
Mon, 30 Oct 2017 13:49:22 +0000 (14:49 +0100)
committerSven Nierlein <sven@nierlein.de>
Fri, 10 Nov 2017 13:53:37 +0000 (14:53 +0100)
commit7bf5b3ff42895cee1cffbf933a69216997d1bb12
treed97558f6d5aaa81f8cca05fa040dd2f4b3dbbb92
parent166ecfe4469bfd437d503ce436b8a8e7d573699a
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>
lib/livestatus/commandstable.cpp
lib/livestatus/contactstable.cpp
lib/livestatus/hoststable.cpp
lib/livestatus/servicestable.cpp
lib/livestatus/statustable.cpp