We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.8.1
Linux
The dictionary constructor literal does not work inside expressions and in a declare statement
# example 1: ternary $meta = isset(meta) ? meta : {};
The error in this case:
Error parsing filterx expression: syntax error, unexpected '{' In /usr/share/syslog-ng/include/... 88 filterx { 89 $vars = vars(); 90----> $meta = isset(meta) ? meta : {}; 90----> ^ 91
# example 2: declare declare meta = {};
The text was updated successfully, but these errors were encountered:
declare meta = {}; now works.
declare meta = {};
Sorry, something went wrong.
No branches or pull requests
AxoSyslog
Version of AxoSyslog
4.8.1
Platform
Linux
Issue
Failure
The dictionary constructor literal does not work inside expressions and in a declare statement
Steps to reproduce
The error in this case:
The text was updated successfully, but these errors were encountered: