Browse Source

Merge pull request #1084 from buyology/controller-error-nit

fix typo in ErrControllerNotAvailable string
Evan Huus 6 năm trước cách đây
mục cha
commit
e8552c0dbf
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      errors.go

+ 1 - 1
errors.go

@@ -43,7 +43,7 @@ var ErrConsumerOffsetNotAdvanced = errors.New("kafka: consumer offset was not ad
 
 // ErrControllerNotAvailable is returned when server didn't give correct controller id. May be kafka server's version
 // is lower than 0.10.0.0.
-var ErrControllerNotAvailable = errors.New("kafka: controller is not avaiable")
+var ErrControllerNotAvailable = errors.New("kafka: controller is not available")
 
 // ErrNoTopicsToUpdateMetadata is returned when Meta.Full is set to false but no specific topics were found to update
 // the metadata.