Explorar o código

Fix stale/misleading documentation

Evan Huus %!s(int64=12) %!d(string=hai) anos
pai
achega
31b212b41c
Modificáronse 1 ficheiros con 1 adicións e 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