diff --git a/vendor/github.com/cncd/pipeline/pipeline/multipart/reader.go b/vendor/github.com/cncd/pipeline/pipeline/multipart/reader.go index 7ae67868c..3ff9e3c99 100644 --- a/vendor/github.com/cncd/pipeline/pipeline/multipart/reader.go +++ b/vendor/github.com/cncd/pipeline/pipeline/multipart/reader.go @@ -38,9 +38,9 @@ type ( // New returns a new multipart Reader. func New(r io.Reader) Reader { 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{ reader: multipart.NewReader(buf, "boundary"), } diff --git a/vendor/vendor.json b/vendor/vendor.json index 542512b6d..3120db35d 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -33,68 +33,68 @@ { "checksumSHA1": "W3AuK8ocqHwlUajGmQLFvnRhTZE=", "path": "github.com/cncd/pipeline/pipeline", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { "checksumSHA1": "Qu2FreqaMr8Yx2bW9O0cxAGgjr0=", "path": "github.com/cncd/pipeline/pipeline/backend", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { "checksumSHA1": "0CGXRaYwZhJxGIrGhn8WGpkFqPo=", "path": "github.com/cncd/pipeline/pipeline/backend/docker", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { "checksumSHA1": "/8wE+cVb7T4PQZgpLNu0DHzKGuE=", "path": "github.com/cncd/pipeline/pipeline/frontend", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { "checksumSHA1": "O0sulBQAHJeNLg3lO38Cq5uf/eg=", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { "checksumSHA1": "Iu+QmUqkN9ZsBdmVlCclVKthJbM=", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/compiler", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { "checksumSHA1": "Q0GkNUFamVYIA1Fd8r0A5M6Gx54=", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/linter", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { "checksumSHA1": "kx2sPUIMozPC/g6E4w48h3FfH3k=", "path": "github.com/cncd/pipeline/pipeline/frontend/yaml/matrix", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { "checksumSHA1": "2/3f3oNmxXy5kcrRLCFa24Oc9O4=", "path": "github.com/cncd/pipeline/pipeline/interrupt", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { - "checksumSHA1": "dM6mk8qbEM90u4/o3OKUlDGXyYA=", + "checksumSHA1": "uOjTfke7Qxosrivgz/nVTHeIP5g=", "path": "github.com/cncd/pipeline/pipeline/multipart", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { "checksumSHA1": "MratmNKJ78/IhWvDsZphN01CtmE=", "path": "github.com/cncd/pipeline/pipeline/rpc", - "revision": "e07174ea942444803e706f11b902b6c06b7c9074", - "revisionTime": "2017-03-12T08:59:32Z" + "revision": "a4badab355e3c2ecc03f2048b0b97f0180df12b2", + "revisionTime": "2017-03-13T03:05:09Z" }, { "checksumSHA1": "7Qj1DK0ceAXkYztW0l3+L6sn+V8=",