mirror of
https://github.com/eventials/goevents.git
synced 2025-04-24 13:48:53 +08:00
Fix typo
This commit is contained in:
parent
31b724fcc7
commit
15e7e8fbc3
@ -16,7 +16,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
ErrEmptyConig = errors.New("empty config")
|
||||
ErrEmptyConfig = errors.New("empty config")
|
||||
ErrEmptyAccessKey = errors.New("empty access key")
|
||||
ErrEmptySecretKey = errors.New("empty secret key")
|
||||
)
|
||||
@ -60,7 +60,7 @@ func (c *ConsumerConfig) setDefaults() {
|
||||
|
||||
func (c *ConsumerConfig) isValid() error {
|
||||
if c == nil {
|
||||
return ErrEmptyConig
|
||||
return ErrEmptyConfig
|
||||
}
|
||||
|
||||
if c.AccessKey == "" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user