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

Fix warnings on runnings tests #3745

Merged
merged 2 commits into from May 16, 2022
Merged

Fix warnings on runnings tests #3745

merged 2 commits into from May 16, 2022

Commits on May 14, 2022

  1. Fix warnings on runnings tests

    ```
    /Users/aho/Projects/Fluentd/fluentd/lib/fluent/config/literal_parser.rb:194: warning: assigned but unused variable - e
    /Users/aho/Projects/Fluentd/fluentd/lib/fluent/plugin/parser_syslog.rb:487: warning: assigned but unused variable - e
    /Users/aho/Projects/Fluentd/fluentd/test/command/test_ctl.rb:10: warning: assigned but unused variable - event_suffix
    /Users/aho/Projects/Fluentd/fluentd/lib/fluent/command/ctl.rb:149: warning: assigned but unused variable - e
    /Users/aho/Projects/Fluentd/fluentd/test/config/test_types.rb:193: warning: assigned but unused variable - list
    /Users/aho/Projects/Fluentd/fluentd/test/plugin/in_tail/test_io_handler.rb:93: warning: assigned but unused variable - update_pos
    /Users/aho/Projects/Fluentd/fluentd/test/plugin/in_tail/test_io_handler.rb:119: warning: assigned but unused variable - update_pos
    /Users/aho/Projects/Fluentd/fluentd/test/plugin/in_tail/test_position_file.rb:43: warning: assigned but unused variable - paths
    /Users/aho/Projects/Fluentd/fluentd/test/plugin/in_tail/test_position_file.rb:150: warning: assigned but unused variable - paths
    /Users/aho/Projects/Fluentd/fluentd/lib/fluent/plugin/file_wrapper.rb:109: warning: assigned but unused variable - seektoend
    /Users/aho/Projects/Fluentd/fluentd/test/plugin/test_in_syslog.rb:500: warning: assigned but unused variable - d
    /Users/aho/Projects/Fluentd/fluentd/test/plugin/test_in_tail.rb:160: warning: ambiguous first argument; put parentheses or a space even after `-' operator
    /Users/aho/Projects/Fluentd/fluentd/test/plugin/test_in_tail.rb:2336: warning: assigned but unused variable - path
    /Users/aho/Projects/Fluentd/fluentd/test/plugin/test_parser_syslog.rb:647: warning: assigned but unused variable - d
    /Users/aho/Projects/Fluentd/fluentd/test/plugin_helper/test_cert_option.rb:22: warning: assigned but unused variable - certs
    ```
    
    Signed-off-by: Takuro Ashie <ashie@clear-code.com>
    ashie committed May 14, 2022
    Copy the full SHA
    411dae5 View commit details
    Browse the repository at this point in the history
  2. Fix a warning on running test

    ```
    /Users/aho/Projects/Fluentd/fluentd/test/config/test_system_config.rb:177: warning: assigned but unused variable - s
    ```
    
    Signed-off-by: Takuro Ashie <ashie@clear-code.com>
    ashie committed May 14, 2022
    Copy the full SHA
    f262672 View commit details
    Browse the repository at this point in the history