Parcourir la source

fix: set host when executing queries without retry policies.

Gabriel Aszalos il y a 7 ans
Parent
commit
b4eb62ec1c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      query_executor.go

+ 1 - 0
query_executor.go

@@ -54,6 +54,7 @@ func (q *queryExecutor) executeQuery(qry ExecutableQuery) (*Iter, error) {
 		hostResponse.Mark(iter.err)
 
 		if rt == nil {
+			iter.host = host
 			break
 		}