Browse Source

Fix stale/misleading documentation

Evan Huus 11 years ago
parent
commit
31b212b41c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      producer.go

+ 1 - 2
producer.go

@@ -169,8 +169,7 @@ func (m *MessageToSend) byteSize() int {
 }
 
 // ProduceError is the type of error generated when the producer fails to deliver a message.
-// It contains the original MessageToSend as well as the actual error value. If the AckSuccesses configuration
-// value is set to true then every message sent generates a ProduceError, but successes will have a nil Err field.
+// It contains the original MessageToSend as well as the actual error value.
 type ProduceError struct {
 	Msg *MessageToSend
 	Err error