diff --git a/CHANGELOG.md b/CHANGELOG.md index 58381eb1c..cd66a78f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ### To be Released +* feat(cron-task): Add fields to cron tasks list [#685](https://github.com/Scalingo/cli/pull/685) ### 1.21.1 diff --git a/crontasks/list.go b/crontasks/list.go index 04d94e857..2a3abc3e7 100644 --- a/crontasks/list.go +++ b/crontasks/list.go @@ -3,11 +3,13 @@ package crontasks import ( "os" + "github.com/olekukonko/tablewriter" + "gopkg.in/errgo.v1" + "github.com/Scalingo/cli/config" + "github.com/Scalingo/cli/utils" httpclient "github.com/Scalingo/go-scalingo/v4/http" "github.com/Scalingo/go-utils/errors" - "github.com/olekukonko/tablewriter" - "gopkg.in/errgo.v1" ) func List(app string) error { @@ -28,10 +30,15 @@ func List(app string) error { t := tablewriter.NewWriter(os.Stdout) t.SetColWidth(60) - t.SetHeader([]string{"Command", "Size"}) + t.SetHeader([]string{"Command", "Size", "Last execution", "Next execution"}) for _, job := range cronTasks.Jobs { - t.Append([]string{job.Command, job.Size}) + lastExecution := job.LastExecutionDate.Format(utils.TimeFormat) + if job.LastExecutionDate.IsZero() { + lastExecution = "No previous executions" + } + + t.Append([]string{job.Command, job.Size, lastExecution, job.NextExecutionDate.Format(utils.TimeFormat)}) } t.Render() diff --git a/go.mod b/go.mod index 45235af10..aa949304b 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.16 require ( github.com/ScaleFT/sshkeys v0.0.0-20200327173127-6142f742bca5 - github.com/Scalingo/go-scalingo/v4 v4.14.2 + github.com/Scalingo/go-scalingo/v4 v4.14.3 github.com/Scalingo/go-utils/errors v1.0.0 github.com/Scalingo/go-utils/retry v1.0.0 github.com/andrew-d/go-termutil v0.0.0-20150726205930-009166a695a2 diff --git a/go.sum b/go.sum index d056c19fe..d83741875 100644 --- a/go.sum +++ b/go.sum @@ -9,14 +9,8 @@ github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C6 github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo= github.com/ScaleFT/sshkeys v0.0.0-20200327173127-6142f742bca5 h1:VauE2GcJNZFun2Och6tIT2zJZK1v6jxALQDA9BIji/E= github.com/ScaleFT/sshkeys v0.0.0-20200327173127-6142f742bca5/go.mod h1:gxOHeajFfvGQh/fxlC8oOKBe23xnnJTif00IFFbiT+o= -github.com/Scalingo/go-scalingo/v4 v4.14.1 h1:2QM7/TOaixLvp3+BsW8kR307LbFwzequzcZoqM/lCyU= -github.com/Scalingo/go-scalingo/v4 v4.14.1/go.mod h1:GHFZjiKGI3xC0igpx4CtRErBSUmMS0QI6sU080lEkKA= -github.com/Scalingo/go-scalingo/v4 v4.14.2-0.20211012092626-2b5c0dae107c h1:Yd/udfiixnp7xkAGv131v0ZTxvoAew5TiLnmHN2wP7A= -github.com/Scalingo/go-scalingo/v4 v4.14.2-0.20211012092626-2b5c0dae107c/go.mod h1:GHFZjiKGI3xC0igpx4CtRErBSUmMS0QI6sU080lEkKA= -github.com/Scalingo/go-scalingo/v4 v4.14.2-0.20211012094544-a3748506ae9d h1:JTBMFE1C+EKk8zYJFcOs/V2X3vONWDPFxvo9M8iYCNc= -github.com/Scalingo/go-scalingo/v4 v4.14.2-0.20211012094544-a3748506ae9d/go.mod h1:GHFZjiKGI3xC0igpx4CtRErBSUmMS0QI6sU080lEkKA= -github.com/Scalingo/go-scalingo/v4 v4.14.2 h1:+2lzo3o0R3rEKO7J9arfWKN1YztkS90SshwLlUVzzb0= -github.com/Scalingo/go-scalingo/v4 v4.14.2/go.mod h1:GHFZjiKGI3xC0igpx4CtRErBSUmMS0QI6sU080lEkKA= +github.com/Scalingo/go-scalingo/v4 v4.14.3 h1:RrEYCWTvD2R7JVFV21FZuJB+t0DZDJwyj6Mzxr1YdJ4= +github.com/Scalingo/go-scalingo/v4 v4.14.3/go.mod h1:GHFZjiKGI3xC0igpx4CtRErBSUmMS0QI6sU080lEkKA= github.com/Scalingo/go-utils/errors v1.0.0 h1:9+1zBmT+d0kpAReChheUDX0AmT0/OtrDtHdwRymRufA= github.com/Scalingo/go-utils/errors v1.0.0/go.mod h1:X1v0A4DBs4exBWGjYsGLo6nsC49vqf2hEVtigTRv7iY= github.com/Scalingo/go-utils/retry v1.0.0 h1:aGT9Voe4rVEzn0bZ68x+nyBvk2sJWrzLP37+tTVdCuc= diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/CHANGELOG.md b/vendor/github.com/Scalingo/go-scalingo/v4/CHANGELOG.md index 2c46940b1..91e5c9a61 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/CHANGELOG.md +++ b/vendor/github.com/Scalingo/go-scalingo/v4/CHANGELOG.md @@ -2,6 +2,10 @@ ## To Be Released +## 4.14.3 + +* feat(cron-task): Add fields to cron tasks model [#231](https://github.com/Scalingo/go-scalingo/pull/231) + ## 4.14.2 fix(events): change type expected in json parsing from implicit int to explicit string [#230](https://github.com/Scalingo/go-scalingo/pull/230) diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/README.md b/vendor/github.com/Scalingo/go-scalingo/v4/README.md index 3fa2e400c..3877a85eb 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/README.md +++ b/vendor/github.com/Scalingo/go-scalingo/v4/README.md @@ -1,6 +1,6 @@ [ ![Codeship Status for Scalingo/go-scalingo](https://app.codeship.com/projects/cf518dc0-0034-0136-d6b3-5a0245e77f67/status?branch=master)](https://app.codeship.com/projects/279805) -# Go client for Scalingo API v4.14.2 +# Go client for Scalingo API v4.14.3 This repository is the Go client for the [Scalingo APIs](https://developers.scalingo.com/). @@ -78,10 +78,10 @@ Commit, tag and create a new release: ```sh git add CHANGELOG.md README.md version.go -git commit -m "Bump v4.14.2" -git tag v4.14.2 -git push origin master v4.14.2 -hub release create v4.14.2 +git commit -m "Bump v4.14.3" +git tag v4.14.3 +git push origin master v4.14.3 +hub release create v4.14.3 ``` The title of the release should be the version number and the text of the diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/addons_providers.go b/vendor/github.com/Scalingo/go-scalingo/v4/addons_providers.go index 28c979c0c..36a2420a0 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/addons_providers.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/addons_providers.go @@ -1,8 +1,9 @@ package scalingo import ( - "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + "github.com/Scalingo/go-scalingo/v4/http" ) type AddonProvidersService interface { @@ -19,7 +20,7 @@ type Plan struct { Name string `json:"name"` Description string `json:"description"` Price float64 `json:"price"` - SKU string `json:"sku"` + SKU string `json:"sku"` } type PlansParams struct { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/apps.go b/vendor/github.com/Scalingo/go-scalingo/v4/apps.go index c6599003a..0eccb0923 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/apps.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/apps.go @@ -4,8 +4,9 @@ import ( "net/http" "time" - httpclient "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + httpclient "github.com/Scalingo/go-scalingo/v4/http" ) type AppStatus string diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/backups.go b/vendor/github.com/Scalingo/go-scalingo/v4/backups.go index b0cbd521b..5e4b1e448 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/backups.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/backups.go @@ -4,8 +4,9 @@ import ( "encoding/json" "time" + "gopkg.in/errgo.v1" + "github.com/Scalingo/go-scalingo/v4/http" - errgo "gopkg.in/errgo.v1" ) type BackupsService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/client.go b/vendor/github.com/Scalingo/go-scalingo/v4/client.go index 3723f8c82..281eebb97 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/client.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/client.go @@ -4,8 +4,9 @@ import ( "crypto/tls" "time" + "gopkg.in/errgo.v1" + "github.com/Scalingo/go-scalingo/v4/http" - errgo "gopkg.in/errgo.v1" ) type API interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/container.go b/vendor/github.com/Scalingo/go-scalingo/v4/container.go index 1fbb93230..5688424c8 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/container.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/container.go @@ -4,8 +4,9 @@ import ( "fmt" "time" - httpclient "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + httpclient "github.com/Scalingo/go-scalingo/v4/http" ) type ContainersService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/cron_tasks.go b/vendor/github.com/Scalingo/go-scalingo/v4/cron_tasks.go index f0d440bc9..786ae9fab 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/cron_tasks.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/cron_tasks.go @@ -1,6 +1,8 @@ package scalingo import ( + "time" + "gopkg.in/errgo.v1" ) @@ -11,8 +13,10 @@ type CronTasksService interface { var _ CronTasksService = (*Client)(nil) type Job struct { - Command string `json:"command"` - Size string `json:"size,omitempty"` + Command string `json:"command"` + Size string `json:"size,omitempty"` + LastExecutionDate time.Time `json:"last_execution_date,omitempty"` + NextExecutionDate time.Time `json:"next_execution_date,omitempty"` } type CronTasks struct { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/database_type_versions.go b/vendor/github.com/Scalingo/go-scalingo/v4/database_type_versions.go index 0a9866de7..17a16e4a1 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/database_type_versions.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/database_type_versions.go @@ -4,8 +4,9 @@ import ( "fmt" "time" - "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + "github.com/Scalingo/go-scalingo/v4/http" ) type DatabaseTypeVersionPlugin struct { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/databases.go b/vendor/github.com/Scalingo/go-scalingo/v4/databases.go index a1fd93159..bdda09a11 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/databases.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/databases.go @@ -3,7 +3,7 @@ package scalingo import ( "time" - errgo "gopkg.in/errgo.v1" + "gopkg.in/errgo.v1" ) type DatabaseStatus string diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/deployments.go b/vendor/github.com/Scalingo/go-scalingo/v4/deployments.go index 35e911ef9..04691fbfe 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/deployments.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/deployments.go @@ -6,9 +6,10 @@ import ( "net/url" "time" - httpclient "github.com/Scalingo/go-scalingo/v4/http" "golang.org/x/net/websocket" "gopkg.in/errgo.v1" + + httpclient "github.com/Scalingo/go-scalingo/v4/http" ) type DeploymentsService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/domains.go b/vendor/github.com/Scalingo/go-scalingo/v4/domains.go index beea11778..296d1ae61 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/domains.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/domains.go @@ -32,9 +32,9 @@ const ( type SslStatus string const ( - SslStatusPendingDNS SslStatus = "pending" - SslStatusNew SslStatus = "error" - SslStatusCreated SslStatus = "success" + SslStatusPendingDNS SslStatus = "pending" + SslStatusNew SslStatus = "error" + SslStatusCreated SslStatus = "success" ) type ACMEErrorVariables struct { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/events.go b/vendor/github.com/Scalingo/go-scalingo/v4/events.go index 6681d45be..da261fad6 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/events.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/events.go @@ -3,8 +3,9 @@ package scalingo import ( "encoding/json" - "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + "github.com/Scalingo/go-scalingo/v4/http" ) type EventsService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/events_types.go b/vendor/github.com/Scalingo/go-scalingo/v4/events_types.go index 06717f3be..104f191bf 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/events_types.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/events_types.go @@ -1,8 +1,9 @@ package scalingo import ( - "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + "github.com/Scalingo/go-scalingo/v4/http" ) type EventCategory struct { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/http/addon_token_generator.go b/vendor/github.com/Scalingo/go-scalingo/v4/http/addon_token_generator.go index da4f85fec..61dbbed37 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/http/addon_token_generator.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/http/addon_token_generator.go @@ -1,7 +1,7 @@ package http import ( - errgo "gopkg.in/errgo.v1" + "gopkg.in/errgo.v1" ) type AddonTokenGenerator struct { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/http/api_request.go b/vendor/github.com/Scalingo/go-scalingo/v4/http/api_request.go index 5fa4d8259..a0b4aafcf 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/http/api_request.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/http/api_request.go @@ -11,9 +11,10 @@ import ( "reflect" "time" + "gopkg.in/errgo.v1" + "github.com/Scalingo/go-scalingo/v4/debug" pkgio "github.com/Scalingo/go-scalingo/v4/io" - "gopkg.in/errgo.v1" ) type APIRequest struct { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/http/api_token_generator.go b/vendor/github.com/Scalingo/go-scalingo/v4/http/api_token_generator.go index dea23ea3a..ed686c2e5 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/http/api_token_generator.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/http/api_token_generator.go @@ -3,8 +3,8 @@ package http import ( "time" - jwt "github.com/golang-jwt/jwt/v4" - errgo "gopkg.in/errgo.v1" + "github.com/golang-jwt/jwt/v4" + "gopkg.in/errgo.v1" ) type TokensService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/log_drains.go b/vendor/github.com/Scalingo/go-scalingo/v4/log_drains.go index d0bb01731..500a8544f 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/log_drains.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/log_drains.go @@ -3,8 +3,9 @@ package scalingo import ( "net/http" - httpclient "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + httpclient "github.com/Scalingo/go-scalingo/v4/http" ) type LogDrainsService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/logs-archives.go b/vendor/github.com/Scalingo/go-scalingo/v4/logs-archives.go index 500e35354..c8fa18fa2 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/logs-archives.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/logs-archives.go @@ -5,9 +5,9 @@ import ( "io/ioutil" "strconv" - "github.com/Scalingo/go-scalingo/v4/http" + "gopkg.in/errgo.v1" - errgo "gopkg.in/errgo.v1" + "github.com/Scalingo/go-scalingo/v4/http" ) type LogsArchivesService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/logs.go b/vendor/github.com/Scalingo/go-scalingo/v4/logs.go index 8602f460b..20a7fc101 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/logs.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/logs.go @@ -4,8 +4,9 @@ import ( "net/http" "net/url" - httpclient "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + httpclient "github.com/Scalingo/go-scalingo/v4/http" ) type LogsService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/notification_platforms.go b/vendor/github.com/Scalingo/go-scalingo/v4/notification_platforms.go index e993eb084..76e9f3a30 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/notification_platforms.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/notification_platforms.go @@ -3,11 +3,10 @@ package scalingo import ( "encoding/json" - "github.com/Scalingo/go-scalingo/v4/http" + "gopkg.in/errgo.v1" "github.com/Scalingo/go-scalingo/v4/debug" - - errgo "gopkg.in/errgo.v1" + "github.com/Scalingo/go-scalingo/v4/http" ) type NotificationPlatformsService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/notifiers.go b/vendor/github.com/Scalingo/go-scalingo/v4/notifiers.go index 4966ce565..21a45ae2c 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/notifiers.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/notifiers.go @@ -4,8 +4,9 @@ import ( "encoding/json" "time" + "gopkg.in/errgo.v1" + "github.com/Scalingo/go-scalingo/v4/debug" - errgo "gopkg.in/errgo.v1" ) type NotifiersService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/operations.go b/vendor/github.com/Scalingo/go-scalingo/v4/operations.go index 87ba0fbf7..c12aace3d 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/operations.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/operations.go @@ -3,8 +3,9 @@ package scalingo import ( "time" - httpclient "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + httpclient "github.com/Scalingo/go-scalingo/v4/http" ) type OperationsService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/region_migrations.go b/vendor/github.com/Scalingo/go-scalingo/v4/region_migrations.go index b05fbcb8b..852c8ce0d 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/region_migrations.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/region_migrations.go @@ -3,8 +3,9 @@ package scalingo import ( "time" + "gopkg.in/errgo.v1" + "github.com/Scalingo/go-scalingo/v4/http" - errgo "gopkg.in/errgo.v1" ) const ( diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/regions.go b/vendor/github.com/Scalingo/go-scalingo/v4/regions.go index 39f6c5b2c..a52d3a73e 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/regions.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/regions.go @@ -3,8 +3,9 @@ package scalingo import ( "sync" - "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + "github.com/Scalingo/go-scalingo/v4/http" ) var ( diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/run.go b/vendor/github.com/Scalingo/go-scalingo/v4/run.go index 0b5b5c908..d8c108978 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/run.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/run.go @@ -4,8 +4,9 @@ import ( "encoding/json" "strings" - "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + "github.com/Scalingo/go-scalingo/v4/http" ) type RunsService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/signup.go b/vendor/github.com/Scalingo/go-scalingo/v4/signup.go index 1ff48d20a..2cb20f9de 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/signup.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/signup.go @@ -1,8 +1,9 @@ package scalingo import ( - "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + "github.com/Scalingo/go-scalingo/v4/http" ) type SignUpService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/stacks.go b/vendor/github.com/Scalingo/go-scalingo/v4/stacks.go index 196843c62..a7e4f07ea 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/stacks.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/stacks.go @@ -3,8 +3,9 @@ package scalingo import ( "time" - httpclient "github.com/Scalingo/go-scalingo/v4/http" "gopkg.in/errgo.v1" + + httpclient "github.com/Scalingo/go-scalingo/v4/http" ) type Stack struct { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/tokens.go b/vendor/github.com/Scalingo/go-scalingo/v4/tokens.go index 7ca86eac2..31c1e5d9f 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/tokens.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/tokens.go @@ -6,8 +6,9 @@ import ( "strconv" "time" + "gopkg.in/errgo.v1" + "github.com/Scalingo/go-scalingo/v4/http" - errgo "gopkg.in/errgo.v1" ) type TokensService interface { diff --git a/vendor/github.com/Scalingo/go-scalingo/v4/version.go b/vendor/github.com/Scalingo/go-scalingo/v4/version.go index 8de1a240b..61a81ff86 100644 --- a/vendor/github.com/Scalingo/go-scalingo/v4/version.go +++ b/vendor/github.com/Scalingo/go-scalingo/v4/version.go @@ -1,3 +1,3 @@ package scalingo -var Version = "4.14.2" +var Version = "4.14.3" diff --git a/vendor/modules.txt b/vendor/modules.txt index a8077930a..443239d72 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -21,7 +21,7 @@ github.com/ProtonMail/go-crypto/openpgp/s2k # github.com/ScaleFT/sshkeys v0.0.0-20200327173127-6142f742bca5 ## explicit github.com/ScaleFT/sshkeys -# github.com/Scalingo/go-scalingo/v4 v4.14.2 +# github.com/Scalingo/go-scalingo/v4 v4.14.3 ## explicit github.com/Scalingo/go-scalingo/v4 github.com/Scalingo/go-scalingo/v4/billing