Skip to content

config: fix error message grammar#8818

Merged
patrick-stephens merged 1 commit intofluent:masterfrom
braydonk:fix_error_typo
May 14, 2024
Merged

config: fix error message grammar#8818
patrick-stephens merged 1 commit intofluent:masterfrom
braydonk:fix_error_typo

Conversation

@braydonk
Copy link
Contributor

@braydonk braydonk commented May 11, 2024

This PR fixes a grammar issue in the output of a particular config loading error message.


Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • Example configuration file for the change
  • Debug log output from testing the change
braydon@pop-os:~/Work/fluent-bit/build/bin$ cat a.conf
[INPUT]
    name dum
braydon@pop-os:~/Work/fluent-bit/build/bin$ ./fluent-bit -c a.conf
Fluent Bit v3.0.4
* Copyright (C) 2015-2024 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io

___________.__                        __    __________.__  __          ________  
\_   _____/|  |  __ __   ____   _____/  |_  \______   \__|/  |_  ___  _\_____  \ 
 |    __)  |  | |  |  \_/ __ \ /    \   __\  |    |  _/  \   __\ \  \/ / _(__  < 
 |     \   |  |_|  |  /\  ___/|   |  \  |    |    |   \  ||  |    \   / /       \
 \___  /   |____/____/  \___  >___|  /__|    |______  /__||__|     \_/ /______  /
     \/                     \/     \/               \/                        \/ 

[2024/05/11 11:29:33] [error] [config] section 'dum' tried to instance a plugin name that doesn't exist
[2024/05/11 11:29:33] [error] configuration file contains errors, aborting.
  • [N/A] Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • [N/A] Run local packaging test showing all targets (including any new ones) build.
  • [N/A] Set ok-package-test label to test for all targets (requires maintainer to do).

Documentation

  • [N/A] Documentation required for this feature

Backporting

  • [N/A] Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Signed-off-by: braydonk <braydonk@google.com>
@patrick-stephens patrick-stephens merged commit 2216068 into fluent:master May 14, 2024
markuman pushed a commit to markuman/fluent-bit that referenced this pull request May 29, 2024
Signed-off-by: braydonk <braydonk@google.com>
Signed-off-by: Markus Bergholz <git@osuv.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants