Explorar o código

Fixed spelling error.

Phillip Couto %!s(int64=11) %!d(string=hai) anos
pai
achega
ffbf78b624
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      policies.go

+ 1 - 1
policies.go

@@ -24,7 +24,7 @@ type SimpleRetryPolicy struct {
 	NumRetries int //Number of times to retry a query
 }
 
-// Attempt tells gocql to attempt the query again based on query.Attemps being less
+// Attempt tells gocql to attempt the query again based on query.Attempts being less
 // than the NumRetries defined in the policy.
 func (s *SimpleRetryPolicy) Attempt(q RetryableQuery) bool {
 	return q.Attempts() <= s.NumRetries