Merge pull request #1237 from willf/fix-misssspelllingz

fix minor spelling errors
This commit is contained in:
Travis Turner 2018-05-01 09:20:45 -05:00 committed by GitHub
commit 437fcc5438
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
api.go
View file

@ -788,7 +788,7 @@ func (api *API) DeleteView(ctx context.Context, indexName string, frameName stri
// Delete the view.
if err := f.DeleteView(viewName); err != nil {
// Ignore this error becuase views do not exist on all nodes due to slice distribution.
// Ignore this error because views do not exist on all nodes due to slice distribution.
if err != ErrInvalidView {
return err
}

View file

@ -443,7 +443,7 @@ type Transport struct {
// NewTransport returns a NetTransport based on the given host and port.
// It will dynamically bind to a port if port is 0.
// This is useful for test cases where specifiying a port is not reasonable.
// This is useful for test cases where specifying a port is not reasonable.
//func NewTransport(host string, port int) (*memberlist.NetTransport, error) {
func NewTransport(host string, port int, logger *log.Logger) (*Transport, error) {
// memberlist config