Add an error message if the filter rule is empty.

Set the streaming status to active only once.
This commit is contained in:
marmei committed 2019-08-28 17:56:15 +02:00
1 parent 878531ff79
commit 717fa68b7e
5 files changed
+31 -7

No files matched your search

+4
View File
@@ -43,6 +43,10 @@ func filterThisStream(s interface{}) (status bool) {
for _, filter := range Data.Filter {
if filter.Rule == "" {
continue
}
var group, name, search string
var exclude, include string
var match = false