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

pandora_sender inner set pandora key convert #611

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

redHJ
Copy link
Collaborator

@redHJ redHJ commented Jul 18, 2018

pandora_sender 内置 pandora key 转换(有个pandora key transformer)

@wonderflow
@unknwon

@redHJ redHJ requested review from wonderflow and unknwon July 18, 2018 02:30
@@ -1035,5 +1038,7 @@ func TestPandoraExtraInfo(t *testing.T) {
t.Error(err)
}
resp = pandora.Body
assert.Equal(t, resp, "x1=123.2")
assert.Equal(t, true, strings.Contains(resp, "x1=123.2"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

其实可以用 assert.True(t, xxx),不过不改效果也一样

testDatas := []map[string]interface{}{
{
"@timestamp": "2018-07-18T10:17:36.549054846+08:00",
//"timestamp": "2018-07-19T10:17:36.549054846+08:00",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个注释的用意什么

@wonderflow
Copy link
Contributor

LGTM

@wonderflow wonderflow merged commit 43a41ce into qiniu:master Jul 18, 2018
@redHJ redHJ deleted the pdr-6891 branch January 24, 2019 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants