The code was calling new(api.TypesDB) which didn't initialize an unexported map inside of the type. Call api.NewTypesDB() instead. |
||
---|---|---|
.. | ||
admin | ||
collectd | ||
continuous_querier | ||
graphite | ||
httpd | ||
meta | ||
opentsdb | ||
precreator | ||
retention | ||
snapshotter | ||
subscriber | ||
udp |