diff options
| author | Shulhan <ms@kilabit.info> | 2019-01-04 13:18:02 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2019-01-04 15:15:35 +0700 |
| commit | a5d1c2878a207b4fdc9203134df17539970f10b8 (patch) | |
| tree | 258c5e1d6a4d8df29feab00d364cce62b2df413b | |
| parent | 11f3127581d8279c8dcec1ae92c653b41fd0fdb8 (diff) | |
| download | haminer-a5d1c2878a207b4fdc9203134df17539970f10b8.tar.xz | |
influxdb: use "%q" for print string with quote
| -rw-r--r-- | influxdb.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/influxdb.go b/influxdb.go index 12fde6c..7274974 100644 --- a/influxdb.go +++ b/influxdb.go @@ -23,7 +23,7 @@ const ( " " + // fields "http_proto=%q,http_method=%q,http_url=%q," + - "http_query=\"%s\",http_status=%d," + + "http_query=%q,http_status=%d," + "term_state=%q," + "client_ip=%q,client_port=%d," + "time_req=%d,time_wait=%d,time_connect=%d," + |
