From a1a43d3b6950e94d8b85d45a33b003c8a4bba896 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Wed, 10 Jan 2018 00:20:49 +0100 Subject: [PATCH] Fix typos in variable name, comment --- client/v2/client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/v2/client.go b/client/v2/client.go index 77d44f2b34..d77ee80d8f 100644 --- a/client/v2/client.go +++ b/client/v2/client.go @@ -169,7 +169,7 @@ func (c *client) Close() error { // once the client is instantiated. type client struct { // N.B - if url.UserInfo is accessed in future modifications to the - // methods on client, you will need to syncronise access to url. + // methods on client, you will need to synchronize access to url. url url.URL username string password string @@ -319,8 +319,8 @@ func (p *Point) String() string { // PrecisionString returns a line-protocol string of the Point, // with the timestamp formatted for the given precision. -func (p *Point) PrecisionString(precison string) string { - return p.pt.PrecisionString(precison) +func (p *Point) PrecisionString(precision string) string { + return p.pt.PrecisionString(precision) } // Name returns the measurement name of the point.