Browse Source

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

fix typo in ErrControllerNotAvailable string
Evan Huus 6 years ago
parent
commit
e8552c0dbf
1 changed files with 1 additions and 1 deletions
  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.