Add an error message if the filter rule is empty.
Set the streaming status to active only once.
This commit is contained in:
1 parent
878531ff79
commit
717fa68b7e
5 files changed
+31
-7
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user