Explorar el Código

Fix stale/misleading documentation

Evan Huus hace 11 años
padre
commit
31b212b41c
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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