Fix breaking import

This commit is contained in:
Asim Aslam 2019-10-03 11:26:24 +01:00
parent af5d7a3420
commit b1163b9dee

View File

@ -5,7 +5,7 @@ import (
"math"
"time"
"github.com/micro/go-micro/sync/leader/consul"
"github.com/micro/go-micro/sync/leader/etcd"
"github.com/micro/go-micro/sync/task"
"github.com/micro/go-micro/sync/task/local"
"github.com/micro/go-micro/util/log"
@ -80,7 +80,7 @@ func NewCron(opts ...Option) Cron {
}
if options.Leader == nil {
options.Leader = consul.NewLeader()
options.Leader = etcd.NewLeader()
}
if options.Task == nil {