No redis host specified not found

This commit is contained in:
Andrew Thornton 2020-01-04 15:47:37 +00:00
parent e4ddaab70b
commit c7550a4bdd
No known key found for this signature in database
GPG Key ID: 3CDE74631F13A748
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func NewRedisQueue(handle HandlerFunc, cfg, exemplar interface{}) (Queue, error)
name: config.Name,
}
if len(dbs) == 0 {
return nil, errors.New("no redis host found")
return nil, errors.New("no redis host specified")
} else if len(dbs) == 1 {
queue.client = redis.NewClient(&redis.Options{
Network: config.Network,