Skip to content

Commit

Permalink
fix: update the precision parameter default value
Browse files Browse the repository at this point in the history
In influxdata#10803, precision parsing was made more strict so that incorrect
values would be caught. The default precision value however is not
correct as an empty string.

fixes: influxdata#10813
  • Loading branch information
powersj committed Mar 14, 2022
1 parent 21fd54c commit 516d6c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ var agentConfig = `
##
## Precision will NOT be used for service inputs. It is up to each individual
## service input to set the timestamp at the appropriate precision.
precision = ""
precision = "0s"
## Log at debug level.
# debug = false
Expand Down

0 comments on commit 516d6c5

Please sign in to comment.