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