{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/telegraf/issues/289","labels_url":"https://api.github.com/repos/influxdb/telegraf/issues/289/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/telegraf/issues/289/comments","events_url":"https://api.github.com/repos/influxdb/telegraf/issues/289/events","html_url":"https://github.com/influxdb/telegraf/issues/289","id":112244456,"number":289,"title":"panic in accumulator if nil is passed as the third parameter to Add","user":{"login":"gotyaoi","id":2141918,"avatar_url":"https://avatars.githubusercontent.com/u/2141918?v=3","gravatar_id":"","url":"https://api.github.com/users/gotyaoi","html_url":"https://github.com/gotyaoi","followers_url":"https://api.github.com/users/gotyaoi/followers","following_url":"https://api.github.com/users/gotyaoi/following{/other_user}","gists_url":"https://api.github.com/users/gotyaoi/gists{/gist_id}","starred_url":"https://api.github.com/users/gotyaoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gotyaoi/subscriptions","organizations_url":"https://api.github.com/users/gotyaoi/orgs","repos_url":"https://api.github.com/users/gotyaoi/repos","events_url":"https://api.github.com/users/gotyaoi/events{/privacy}","received_events_url":"https://api.github.com/users/gotyaoi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-19T22:16:55Z","updated_at":"2015-10-20T16:04:36Z","closed_at":null,"body":"I was testing the changes I had made for the config directory support when I came across this. The changes here: https://github.com/influxdb/telegraf/commit/6977119f1e208bbaae7584168af3a0226ceb065a#diff-2df0b9f3bc0da3ee13966a69e386ff84R145 will panic if Add is passed nil as the tags parameter. A quick grep shows this only happens in the system plugin, the puppetagent plugin and as an example in the CONTRIBUTING.md file.\r\n\r\nEdit: my grep was insufficient. This also occurs in the memory plugin, as it passes `map[string]string(nil)`."},"comment":{"url":"https://api.github.com/repos/influxdb/telegraf/issues/comments/149616950","html_url":"https://github.com/influxdb/telegraf/issues/289#issuecomment-149616950","issue_url":"https://api.github.com/repos/influxdb/telegraf/issues/289","id":149616950,"user":{"login":"sparrc","id":7155926,"avatar_url":"https://avatars.githubusercontent.com/u/7155926?v=3","gravatar_id":"","url":"https://api.github.com/users/sparrc","html_url":"https://github.com/sparrc","followers_url":"https://api.github.com/users/sparrc/followers","following_url":"https://api.github.com/users/sparrc/following{/other_user}","gists_url":"https://api.github.com/users/sparrc/gists{/gist_id}","starred_url":"https://api.github.com/users/sparrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparrc/subscriptions","organizations_url":"https://api.github.com/users/sparrc/orgs","repos_url":"https://api.github.com/users/sparrc/repos","events_url":"https://api.github.com/users/sparrc/events{/privacy}","received_events_url":"https://api.github.com/users/sparrc/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T16:04:36Z","updated_at":"2015-10-20T16:04:36Z","body":"I'm working on overhauling the accumulator and already have a fix for this in that branch"}}