From 4ebfa84480ed3ce10c1b56904187b3ba8e86a494 Mon Sep 17 00:00:00 2001 From: ssube Date: Sun, 19 Apr 2020 12:44:57 -0500 Subject: [PATCH] fix cron import --- go.mod | 2 +- go.sum | 2 ++ main.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index b2860c6..af39eed 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,6 @@ require ( github.com/aws/aws-sdk-go v1.30.9 github.com/go-ini/ini v1.55.0 github.com/jmespath/go-jmespath v0.3.0 - gopkg.in/robfig/cron.v3 v3.0.1 + github.com/robfig/cron/v3 v3.0.1 gopkg.in/yaml.v2 v2.2.8 ) diff --git a/go.sum b/go.sum index ffe35af..de1adba 100644 --- a/go.sum +++ b/go.sum @@ -22,6 +22,8 @@ github.com/jmespath/go-jmespath v0.3.0 h1:OS12ieG61fsCg5+qLJ+SsW9NicxNkg3b25OyT2 github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= +github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff --git a/main.go b/main.go index 583dd17..14dc586 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( "github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/service/route53" - "gopkg.in/robfig/cron.v2" + "github.com/robfig/cron/v3" yaml "gopkg.in/yaml.v2" )