Skip to content

Commit

Permalink
Merge pull request #955 from redHJ/pandoraSend
Browse files Browse the repository at this point in the history
pandora sender add map[string][string] to jsonstring
  • Loading branch information
wonderflow authored Mar 29, 2019
2 parents 038a0b4 + 421fca7 commit 9225109
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 30 deletions.
3 changes: 3 additions & 0 deletions sender/pandora/pandora.go
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,9 @@ func validSchema(valueType string, value interface{}, numberAsFloat bool) bool {
if _, ok := value.(map[string]interface{}); ok {
return true
}
if _, ok := value.(map[string]string); ok {
return true
}
vu := reflect.ValueOf(value)
var str string
if vu.Kind() == reflect.String {
Expand Down
22 changes: 11 additions & 11 deletions vendor/github.com/qiniu/pandora-go-sdk/pipeline/schemafree.go

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

38 changes: 19 additions & 19 deletions vendor/vendor.json
Original file line number Diff line number Diff line change
Expand Up @@ -607,56 +607,56 @@
{
"checksumSHA1": "0JEyusBC8nfE7dF2sKLylHTh93Y=",
"path": "github.com/qiniu/pandora-go-sdk/base",
"revision": "e15960de1fd5083da45ff35b9cd3be252a5b29c0",
"revisionTime": "2019-03-27T11:09:52Z"
"revision": "2d846efd05291c2b225b2ccade668607859f12c7",
"revisionTime": "2019-03-29T02:01:01Z"
},
{
"checksumSHA1": "bxhdCtUVijjJI4tzfMBipi5G4ko=",
"path": "github.com/qiniu/pandora-go-sdk/base/config",
"revision": "e15960de1fd5083da45ff35b9cd3be252a5b29c0",
"revisionTime": "2019-03-27T11:09:52Z"
"revision": "2d846efd05291c2b225b2ccade668607859f12c7",
"revisionTime": "2019-03-29T02:01:01Z"
},
{
"checksumSHA1": "k5JfcSQ5YsAFd6DSHpSeuNWbql8=",
"path": "github.com/qiniu/pandora-go-sdk/base/models",
"revision": "e15960de1fd5083da45ff35b9cd3be252a5b29c0",
"revisionTime": "2019-03-27T11:09:52Z"
"revision": "2d846efd05291c2b225b2ccade668607859f12c7",
"revisionTime": "2019-03-29T02:01:01Z"
},
{
"checksumSHA1": "lV2zb3SZ4BKaa1XpC4Q3ktbVgDo=",
"path": "github.com/qiniu/pandora-go-sdk/base/ratelimit",
"revision": "e15960de1fd5083da45ff35b9cd3be252a5b29c0",
"revisionTime": "2019-03-27T11:09:52Z"
"revision": "2d846efd05291c2b225b2ccade668607859f12c7",
"revisionTime": "2019-03-29T02:01:01Z"
},
{
"checksumSHA1": "v8UwIci5uK7slGpomJy18kQsHIQ=",
"path": "github.com/qiniu/pandora-go-sdk/base/reqerr",
"revision": "e15960de1fd5083da45ff35b9cd3be252a5b29c0",
"revisionTime": "2019-03-27T11:09:52Z"
"revision": "2d846efd05291c2b225b2ccade668607859f12c7",
"revisionTime": "2019-03-29T02:01:01Z"
},
{
"checksumSHA1": "oEpRonb6KY/u9OWNOxSEjyyqqXk=",
"path": "github.com/qiniu/pandora-go-sdk/base/request",
"revision": "e15960de1fd5083da45ff35b9cd3be252a5b29c0",
"revisionTime": "2019-03-27T11:09:52Z"
"revision": "2d846efd05291c2b225b2ccade668607859f12c7",
"revisionTime": "2019-03-29T02:01:01Z"
},
{
"checksumSHA1": "rJKQ0d5ynkO5c81IUfLyqb7iIqU=",
"path": "github.com/qiniu/pandora-go-sdk/logdb",
"revision": "e15960de1fd5083da45ff35b9cd3be252a5b29c0",
"revisionTime": "2019-03-27T11:09:52Z"
"revision": "2d846efd05291c2b225b2ccade668607859f12c7",
"revisionTime": "2019-03-29T02:01:01Z"
},
{
"checksumSHA1": "od+WNbbFTu/YMRFe4emAl6xCPUY=",
"checksumSHA1": "ld7LH305wTIazeBKzC+Le760q+Y=",
"path": "github.com/qiniu/pandora-go-sdk/pipeline",
"revision": "e15960de1fd5083da45ff35b9cd3be252a5b29c0",
"revisionTime": "2019-03-27T11:09:52Z"
"revision": "2d846efd05291c2b225b2ccade668607859f12c7",
"revisionTime": "2019-03-29T02:01:01Z"
},
{
"checksumSHA1": "YeSUJIE3zLnpjK3g161wiMeIbmk=",
"path": "github.com/qiniu/pandora-go-sdk/tsdb",
"revision": "e15960de1fd5083da45ff35b9cd3be252a5b29c0",
"revisionTime": "2019-03-27T11:09:52Z"
"revision": "2d846efd05291c2b225b2ccade668607859f12c7",
"revisionTime": "2019-03-29T02:01:01Z"
},
{
"checksumSHA1": "KAzbLjI9MzW2tjfcAsK75lVRp6I=",
Expand Down

0 comments on commit 9225109

Please sign in to comment.