1
0
mirror of https://github.com/eventials/goevents.git synced 2025-04-24 13:48:53 +08:00
This commit is contained in:
skrater 2018-08-15 17:47:06 -03:00
parent 31b724fcc7
commit 15e7e8fbc3

View File

@ -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 == "" {