update ddl

This commit is contained in:
Brad Rydzewski 2017-03-13 23:24:11 +08:00
parent d565ff01a6
commit 3301f15d75
2 changed files with 25 additions and 25 deletions

View file

@ -38,9 +38,9 @@ type (
// New returns a new multipart Reader. // New returns a new multipart Reader.
func New(r io.Reader) Reader { func New(r io.Reader) Reader {
buf := bufio.NewReader(r) buf := bufio.NewReader(r)
out, _ := buf.Peek(4) out, _ := buf.Peek(8)
if bytes.Equal(out, []byte("MIME")) { if bytes.Equal(out, []byte("PIPELINE")) {
return &multipartReader{ return &multipartReader{
reader: multipart.NewReader(buf, "boundary"), reader: multipart.NewReader(buf, "boundary"),
} }

46
vendor/vendor.json vendored
View file

@ -33,68 +33,68 @@
{ {
"checksumSHA1": "W3AuK8ocqHwlUajGmQLFvnRhTZE=", "checksumSHA1": "W3AuK8ocqHwlUajGmQLFvnRhTZE=",
"path": "github.com/cncd/pipeline/pipeline", "path": "github.com/cncd/pipeline/pipeline",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "Qu2FreqaMr8Yx2bW9O0cxAGgjr0=", "checksumSHA1": "Qu2FreqaMr8Yx2bW9O0cxAGgjr0=",
"path": "github.com/cncd/pipeline/pipeline/backend", "path": "github.com/cncd/pipeline/pipeline/backend",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "0CGXRaYwZhJxGIrGhn8WGpkFqPo=", "checksumSHA1": "0CGXRaYwZhJxGIrGhn8WGpkFqPo=",
"path": "github.com/cncd/pipeline/pipeline/backend/docker", "path": "github.com/cncd/pipeline/pipeline/backend/docker",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "/8wE+cVb7T4PQZgpLNu0DHzKGuE=", "checksumSHA1": "/8wE+cVb7T4PQZgpLNu0DHzKGuE=",
"path": "github.com/cncd/pipeline/pipeline/frontend", "path": "github.com/cncd/pipeline/pipeline/frontend",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "O0sulBQAHJeNLg3lO38Cq5uf/eg=", "checksumSHA1": "O0sulBQAHJeNLg3lO38Cq5uf/eg=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "Iu+QmUqkN9ZsBdmVlCclVKthJbM=", "checksumSHA1": "Iu+QmUqkN9ZsBdmVlCclVKthJbM=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/compiler", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/compiler",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "Q0GkNUFamVYIA1Fd8r0A5M6Gx54=", "checksumSHA1": "Q0GkNUFamVYIA1Fd8r0A5M6Gx54=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/linter", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/linter",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "kx2sPUIMozPC/g6E4w48h3FfH3k=", "checksumSHA1": "kx2sPUIMozPC/g6E4w48h3FfH3k=",
"path": "github.com/cncd/pipeline/pipeline/frontend/yaml/matrix", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/matrix",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "2/3f3oNmxXy5kcrRLCFa24Oc9O4=", "checksumSHA1": "2/3f3oNmxXy5kcrRLCFa24Oc9O4=",
"path": "github.com/cncd/pipeline/pipeline/interrupt", "path": "github.com/cncd/pipeline/pipeline/interrupt",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "dM6mk8qbEM90u4/o3OKUlDGXyYA=", "checksumSHA1": "uOjTfke7Qxosrivgz/nVTHeIP5g=",
"path": "github.com/cncd/pipeline/pipeline/multipart", "path": "github.com/cncd/pipeline/pipeline/multipart",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "MratmNKJ78/IhWvDsZphN01CtmE=", "checksumSHA1": "MratmNKJ78/IhWvDsZphN01CtmE=",
"path": "github.com/cncd/pipeline/pipeline/rpc", "path": "github.com/cncd/pipeline/pipeline/rpc",
"revision": "e07174ea942444803e706f11b902b6c06b7c9074", "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2",
"revisionTime": "2017-03-12T08:59:32Z" "revisionTime": "2017-03-13T03:05:09Z"
}, },
{ {
"checksumSHA1": "7Qj1DK0ceAXkYztW0l3+L6sn+V8=", "checksumSHA1": "7Qj1DK0ceAXkYztW0l3+L6sn+V8=",