fallthrough in worker selection
This commit is contained in:
parent
dc90be24de
commit
67d14977fa
|
@ -22,7 +22,7 @@ func NewWorker(source string, logger *log.Logger) (*types.Worker, error) {
|
||||||
Logger: logger,
|
Logger: logger,
|
||||||
}
|
}
|
||||||
switch u.Scheme {
|
switch u.Scheme {
|
||||||
case "imap":
|
case "imap": fallthrough;
|
||||||
case "imaps":
|
case "imaps":
|
||||||
worker.Backend = imap.NewIMAPWorker(worker)
|
worker.Backend = imap.NewIMAPWorker(worker)
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue