- Notifications
You must be signed in to change notification settings - Fork 1k
switch zone route warning to an info message #10761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add a snapshot test for std.info?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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