Skip to content

Commit

Permalink
Tag values should not be quoted
Browse files Browse the repository at this point in the history
  • Loading branch information
tdely committed Jun 29, 2021
1 parent f309c33 commit e30a73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimflux.nim
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ proc setTokenAuth*(client: InfluxClient, token: string) =

proc addTag*(dp: DataPoint, name: string, value: string) =
## Add a measurement tag.
dp.tags[name] = "\"" & value & "\""
dp.tags[name] = value

proc addField*(dp: DataPoint, name: string, value: string) =
## Add a measurement field.
Expand Down

0 comments on commit e30a73f

Please sign in to comment.