Explorar el Código

Fix client.tryRefreshMetadata Println

Sebastien Launay hace 6 años
padre
commit
57d3a2122f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      client.go

+ 1 - 1
client.go

@@ -822,7 +822,7 @@ func (client *client) tryRefreshMetadata(topics []string, attemptsRemaining int,
 	}
 
 	if broker != nil {
-		Logger.Println("client/metadata not fetching metadata from broker %s as we would go past the metadata timeout\n", broker.addr)
+		Logger.Printf("client/metadata not fetching metadata from broker %s as we would go past the metadata timeout\n", broker.addr)
 		return retry(ErrOutOfBrokers)
 	}