Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
telegraf-nftables
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Due to inactivity, this project is scheduled to be deleted on 2035-04-24.
Why is this scheduled?
Show more breadcrumbs
vqgroup
telegraf-nftables
Commits
42434034
Commit
42434034
authored
7 years ago
by
Daniel Nelson
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove warning when JSON contains null value (#3359)
parent
3bbc2bee
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/parsers/json/parser.go
+0
-2
0 additions, 2 deletions
plugins/parsers/json/parser.go
with
0 additions
and
2 deletions
plugins/parsers/json/parser.go
+
0
−
2
View file @
42434034
...
@@ -159,8 +159,6 @@ func (f *JSONFlattener) FullFlattenJSON(
...
@@ -159,8 +159,6 @@ func (f *JSONFlattener) FullFlattenJSON(
return
nil
return
nil
}
}
case
nil
:
case
nil
:
// ignored types
fmt
.
Println
(
"json parser ignoring "
+
fieldname
)
return
nil
return
nil
default
:
default
:
return
fmt
.
Errorf
(
"JSON Flattener: got unexpected type %T with value %v (%s)"
,
return
fmt
.
Errorf
(
"JSON Flattener: got unexpected type %T with value %v (%s)"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment