소스 검색

Fixed spelling error.

Phillip Couto 11 년 전
부모
커밋
ffbf78b624
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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