switch zone route warning to an info message#10761
Conversation
🦋 Changeset detectedLatest commit: 7f760e3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Failed to automatically backport this PR's changes to Wrangler v3. Please manually create a PR targeting the Depending on your changes, running Notes:
|
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
cd54693 to
472938d
Compare
472938d to
7f760e3
Compare
| expect(std.err).toMatchInlineSnapshot(`""`); | ||
| expect(std.warn).toMatchInlineSnapshot(` | ||
| "[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mThe current authentication token does not have 'All Zones' permissions.[0m | ||
|
|
||
| Falling back to using the zone-based API endpoint to update each route individually. | ||
| Note that there is no access to routes associated with zones that the API token does not have | ||
| permission for. | ||
| Existing routes for this Worker in such zones will not be deleted. | ||
|
|
||
|
|
||
| [33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mPreviously deployed routes:[0m | ||
| "[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mPreviously deployed routes:[0m | ||
|
|
||
| The following routes were already associated with this worker, and have not been deleted: |
There was a problem hiding this comment.
Should we add a snapshot test for std.info?
There was a problem hiding this comment.
Doh! I merged this too soon. Yes you are right.
* switch zone route warning to an info message * relax request content type check * fixup! switch zone route warning to an info message
Fixes #10751