Merge pull request #9296 from simon04/patch-1

Fix typos in variable name, comment
pull/9335/head^2
Edd Robinson 2018-01-29 04:44:32 -08:00 committed by GitHub
commit 8a00870616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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.