fix minor spelling errors

This commit is contained in:
Will Fitzgerald 2018-05-01 05:45:19 -04:00
parent fdd552bf30
commit 5a56b33826
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