-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[receiver/purefa] Add validate on config components (#17449)
* Add validate on config components Signed-off-by: dgoscn <[email protected]> * Add changelog * Update receiver/purefareceiver/config.go * [receiver/purefa] Add enhancement on validate config * Revert "[receiver/purefa] Add enhancement on validate config" This reverts commit d4ab00772c99284993e4153d8ce1d143efdab35b. * [receiver/purefa] Add golang conventions for error messages * [receiver/purefa] Add the correct error check validate * [receiver/purefa] Add the correct error check validate syntax * [receiver/purefa] Correct unexpected error on config file * [receiver/purefa] Missing go mod execution after make gotidy --------- Signed-off-by: dgoscn <[email protected]> Co-authored-by: Bogdan Drutu <[email protected]>
- Loading branch information
Showing
4 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: enhancement | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) | ||
component: receiver/purefareceiver | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: Add missing code snippet that validate the config file | ||
|
||
# One or more tracking issues related to the change | ||
issues: [14886] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters