浏览代码

remove stale comment

Evan Huus 12 年之前
父节点
当前提交
737f836006
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client.go

+ 1 - 1
client.go

@@ -64,7 +64,7 @@ func NewClient(id string, addrs []string, config *ClientConfig) (*Client, error)
 	// do an initial fetch of all cluster metadata by specifing an empty list of topics
 	// do an initial fetch of all cluster metadata by specifing an empty list of topics
 	err := client.RefreshAllMetadata()
 	err := client.RefreshAllMetadata()
 	if err != nil {
 	if err != nil {
-		client.Close() // this closes tmp, since it's still in the brokers hash
+		client.Close()
 		return nil, err
 		return nil, err
 	}
 	}