Skip to content

Commit

Permalink
change references to pipeline id to name
Browse files Browse the repository at this point in the history
  • Loading branch information
cmackenzie1 committed Oct 30, 2024
1 parent 9394ab5 commit 311b1a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions packages/wrangler/e2e/dev-with-resources.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,6 @@ describe.sequential.each(RUNTIMES)("Bindings: $flags", ({ runtime, flags }) => {
pipeline = "my-pipeline"
`,
"src/index.ts": dedent`
import { Pipeline } from "cloudflare:workers";
export default {
async fetch(request, env, ctx) {
if (env.PIPELINE === undefined) {
Expand Down
6 changes: 3 additions & 3 deletions packages/wrangler/src/__tests__/init.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,7 @@ describe("init", () => {
{
type: "pipelines",
name: "PIPELINE_BINDING",
id: "some-id",
pipeline: "some-name",
},
{
type: "mtls_certificate",
Expand Down Expand Up @@ -2670,7 +2670,7 @@ describe("init", () => {
pipelines: [
{
binding: "PIPELINE_BINDING",
pipeline: "some-id",
pipeline: "some-name",
},
],
queues: {
Expand Down Expand Up @@ -3212,7 +3212,7 @@ describe("init", () => {
[[pipelines]]
binding = \\"PIPELINE_BINDING\\"
pipeline = \\"some-id\\"
pipeline = \\"some-name\\"
[[mtls_certificates]]
binding = \\"MTLS_BINDING\\"
Expand Down

0 comments on commit 311b1a3

Please sign in to comment.