Skip to content

Commit

Permalink
Update Go dependencies
Browse files Browse the repository at this point in the history
This includes go-jira v1.15.1 supporting Personal Access Tokens (PATs).

Update go-jira imports [1] and go-kit imports [2].

[1] andygrunwald/go-jira#428
[2] go-kit/kit#1173

Signed-off-by: Pierre Riteau <pierre@stackhpc.com>
  • Loading branch information
priteau committed Mar 1, 2022
1 parent 9d6a5ed commit d856912
Show file tree
Hide file tree
Showing 9 changed files with 347 additions and 260 deletions.
2 changes: 1 addition & 1 deletion .errcheck_excludes.txt
@@ -1,3 +1,3 @@
(github.com/go-kit/kit/log.Logger).Log
(github.com/go-kit/log.Logger).Log
fmt.Fprintln
fmt.Fprint
6 changes: 3 additions & 3 deletions cmd/jiralert/main.go
Expand Up @@ -22,10 +22,10 @@ import (
"runtime"
"strconv"

"github.com/andygrunwald/go-jira"
jira "github.com/andygrunwald/go-jira"

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/prometheus-community/jiralert/pkg/alertmanager"
"github.com/prometheus-community/jiralert/pkg/config"
"github.com/prometheus-community/jiralert/pkg/notify"
Expand Down
19 changes: 10 additions & 9 deletions go.mod
Expand Up @@ -3,15 +3,16 @@ module github.com/prometheus-community/jiralert
go 1.14

require (
github.com/andygrunwald/go-jira v1.11.2-0.20200514151831-146229d2ab58
github.com/fatih/structs v1.1.0 // indirect
github.com/go-kit/kit v0.10.0
github.com/golang/protobuf v1.4.1 // indirect
github.com/google/go-querystring v1.0.0 // indirect
github.com/andygrunwald/go-jira v1.15.1
github.com/go-kit/log v0.2.0
github.com/kr/text v0.2.0 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.6.0
github.com/prometheus/common v0.10.0 // indirect
github.com/stretchr/testify v1.5.1
github.com/prometheus/client_golang v1.12.1
github.com/stretchr/testify v1.7.0
github.com/trivago/tgo v1.0.7
gopkg.in/yaml.v2 v2.3.0
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)
560 changes: 323 additions & 237 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg/config/config.go
Expand Up @@ -23,8 +23,8 @@ import (
"strings"
"time"

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/go-kit/log"
"github.com/go-kit/log/level"

"github.com/trivago/tgo/tcontainer"
"gopkg.in/yaml.v2"
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/config_test.go
Expand Up @@ -18,7 +18,7 @@ import (
"path"
"testing"

"github.com/go-kit/kit/log"
"github.com/go-kit/log"
"github.com/stretchr/testify/require"
)

Expand Down
6 changes: 3 additions & 3 deletions pkg/notify/notify.go
Expand Up @@ -21,9 +21,9 @@ import (
"strings"
"time"

"github.com/andygrunwald/go-jira"
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
jira "github.com/andygrunwald/go-jira"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/pkg/errors"
"github.com/prometheus-community/jiralert/pkg/alertmanager"
"github.com/prometheus-community/jiralert/pkg/config"
Expand Down
4 changes: 2 additions & 2 deletions pkg/notify/notify_test.go
Expand Up @@ -21,8 +21,8 @@ import (

"github.com/trivago/tgo/tcontainer"

"github.com/andygrunwald/go-jira"
"github.com/go-kit/kit/log"
jira "github.com/andygrunwald/go-jira"
"github.com/go-kit/log"
"github.com/pkg/errors"
"github.com/prometheus-community/jiralert/pkg/alertmanager"
"github.com/prometheus-community/jiralert/pkg/config"
Expand Down
4 changes: 2 additions & 2 deletions pkg/template/template.go
Expand Up @@ -19,8 +19,8 @@ import (
"strings"
"text/template"

"github.com/go-kit/kit/log"
"github.com/go-kit/kit/log/level"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/pkg/errors"
)

Expand Down

0 comments on commit d856912

Please sign in to comment.