Skip to content
New issue

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

Fixes #7762: Warnings at info and verbose levels while parsing log_rudder #312

Conversation

amousset
Copy link
Member

"nologger_len" string => eval("${promiser_count}-1", "math", "infix");
"nologger_len_real" string => eval("${promiser_count}-1", "math", "infix");
# Avoid error when casting to int (#7762)
"nologger_len" string => format("%d", "${nologger_len_real}");
"nologger_len_int" int => "${nologger_len}";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this line and use directly the string value.
The int was there just for the cast, there is no real int in cfengine, everything is a string

@amousset
Copy link
Member Author

PR updated

@amousset amousset force-pushed the bug_7762/warnings_at_info_and_verbose_levels_while_parsing_log_rudder branch from d44ed65 to 3763322 Compare January 27, 2016 13:53
@peckpeck
Copy link
Member

Good, merging

peckpeck added a commit that referenced this pull request Jan 27, 2016
…erbose_levels_while_parsing_log_rudder

Fixes #7762: Warnings at info and verbose levels while parsing log_rudder
@peckpeck peckpeck merged commit 5d41f75 into Normation:master Jan 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants