Skip to content

Commit

Permalink
Update dependencies (#51)
Browse files Browse the repository at this point in the history
* Updating golang dependancies.

* Client dependency updates.

* Make eslint happy.
  • Loading branch information
crspeller authored Apr 17, 2020
1 parent 681eb8f commit 60814e8
Show file tree
Hide file tree
Showing 7 changed files with 5,320 additions and 5,835 deletions.
30 changes: 18 additions & 12 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,30 @@ module github.com/mattermost/mattermost-plugin-incident-response
go 1.13

require (
github.com/go-sql-driver/mysql v1.5.0 // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/golang/mock v1.2.0
github.com/google/go-cmp v0.4.0 // indirect
github.com/gorilla/mux v1.7.3
github.com/lib/pq v1.3.0 // indirect
github.com/golang/protobuf v1.4.0 // indirect
github.com/gorilla/mux v1.7.4
github.com/gorilla/websocket v1.4.2 // indirect
github.com/mattermost/ldap v3.0.4+incompatible // indirect
github.com/mattermost/mattermost-plugin-api v0.0.10
github.com/mattermost/mattermost-server/v5 v5.21.0
github.com/mholt/archiver/v3 v3.3.0
github.com/oklog/run v1.1.0 // indirect
github.com/pelletier/go-toml v1.6.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.0 // indirect
github.com/pelletier/go-toml v1.7.0 // indirect
github.com/pkg/errors v0.9.1
github.com/rudderlabs/analytics-go v3.1.0+incompatible
github.com/rudderlabs/analytics-go v3.2.1+incompatible
github.com/segmentio/backo-go v0.0.0-20200129164019-23eae7c10bd3 // indirect
github.com/sirupsen/logrus v1.5.0 // indirect
github.com/stretchr/testify v1.5.1
golang.org/x/tools v0.0.0-20200213050514-49b8ac185c84 // indirect
google.golang.org/genproto v0.0.0-20200128133413-58ce757ed39b // indirect
google.golang.org/grpc v1.26.0 // indirect
go.uber.org/zap v1.14.1 // indirect
golang.org/x/crypto v0.0.0-20200414173820-0848c9571904 // indirect
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e // indirect
golang.org/x/sys v0.0.0-20200413165638-669c56c373c4 // indirect
golang.org/x/tools v0.0.0-20200417140056-c07e33ef3290 // indirect
google.golang.org/genproto v0.0.0-20200417142217-fb6d0575620b // indirect
google.golang.org/grpc v1.28.1 // indirect
gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.2.8 // indirect
honnef.co/go/tools v0.0.1-2020.1.3 // indirect
)
87 changes: 68 additions & 19 deletions go.sum

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions server/telemetry/rudder.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ func NewRudder(dataPlaneURL, writeKey, diagnosticID string, serverVersion string
return nil, fmt.Errorf("serverVersion should not be empty")
}

client, err := rudder.NewWithConfig(writeKey, rudder.Config{
Endpoint: dataPlaneURL,
})
client, err := rudder.NewWithConfig(writeKey, dataPlaneURL, rudder.Config{})
if err != nil {
return nil, err
}
Expand Down
3 changes: 1 addition & 2 deletions server/telemetry/rudder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ func setupRudder(t *testing.T, data chan<- rudderPayload) (*RudderTelemetry, *ht
data <- p
}))

client, err := rudder.NewWithConfig("dummy_key", rudder.Config{
Endpoint: server.URL,
client, err := rudder.NewWithConfig("dummy_key", server.URL, rudder.Config{
BatchSize: 1,
Interval: 1 * time.Millisecond,
Verbose: true,
Expand Down
Loading

0 comments on commit 60814e8

Please sign in to comment.