Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
models: remove Point.AddField method
AddField doesn't allow us to report errors, but we need to validate some field names. Since we have to change the interface anyway, we simply insist that all callers use NewPoint, rather than AddField. Per advice from Jason Wilder, see influxdata#5716 (comment) Signed-off-by: Jon Seymour <jon@wildducktheories.com>
- Loading branch information