diff --git a/api.go b/api.go index 700b21d25..02ffa91dc 100644 --- a/api.go +++ b/api.go @@ -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 } diff --git a/gossip/gossip.go b/gossip/gossip.go index e4856ec7b..25dd40cc4 100644 --- a/gossip/gossip.go +++ b/gossip/gossip.go @@ -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