浏览代码

Fix client.tryRefreshMetadata Println

Sebastien Launay 6 年之前
父节点
当前提交
57d3a2122f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 	}