Browse Source

fix: set host when executing queries without retry policies.

Gabriel Aszalos 7 years ago
parent
commit
b4eb62ec1c
1 changed files with 1 additions and 0 deletions
  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
 		}