Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade datadog to 2.2.0 for UDS bug fixes #722

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

[[constraint]]
name = "github.com/DataDog/datadog-go"
version = "2.1.0"
revision = "f6e76752dd64e7329d6b314f92a08748a78c2250"

[[constraint]]
name = "github.com/Shopify/sarama"
Expand Down
6 changes: 4 additions & 2 deletions scopedstatsd/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ package scopedstatsd
import (
"testing"

"github.com/pkg/errors"

"github.com/stretchr/testify/assert"
)

func TestEnsure(t *testing.T) {
var theNilOne Client = nil
ensured := Ensure(theNilOne)
assert.NotNil(t, ensured)
assert.NoError(t, ensured.Count("hi", 0, nil, 1.0))
assert.Error(t, errors.New("statsd client is nil"), ensured.Count("hi", 0, nil, 1.0))
}

func TestDoesSomething(t *testing.T) {
Expand Down Expand Up @@ -49,7 +51,7 @@ func TestDoesSomething(t *testing.T) {
},
}
for _, fn := range testFuncs {
assert.NoError(t, fn())
assert.Error(t, errors.New("statsd client is nil"), fn())
}
})
}
Expand Down
109 changes: 109 additions & 0 deletions vendor/github.com/DataDog/datadog-go/statsd/options.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading