File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " wrangler " : patch
3+ ---
4+
5+ switch zone route warning to an info message
Original file line number Diff line number Diff line change @@ -1544,15 +1544,7 @@ describe("deploy", () => {
15441544
15451545 expect ( std . err ) . toMatchInlineSnapshot ( `""` ) ;
15461546 expect ( std . warn ) . toMatchInlineSnapshot ( `
1547- "[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mThe current authentication token does not have 'All Zones' permissions.[0m
1548-
1549- Falling back to using the zone-based API endpoint to update each route individually.
1550- Note that there is no access to routes associated with zones that the API token does not have
1551- permission for.
1552- Existing routes for this Worker in such zones will not be deleted.
1553-
1554-
1555- [33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mPreviously deployed routes:[0m
1547+ "[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mPreviously deployed routes:[0m
15561548
15571549 The following routes were already associated with this worker, and have not been deleted:
15581550 - \\"foo.example.com/other-route\\"
Original file line number Diff line number Diff line change @@ -1229,7 +1229,7 @@ async function publishRoutesFallback(
12291229 { telemetryMessage : true }
12301230 ) ;
12311231 }
1232- logger . warn (
1232+ logger . info (
12331233 "The current authentication token does not have 'All Zones' permissions.\n" +
12341234 "Falling back to using the zone-based API endpoint to update each route individually.\n" +
12351235 "Note that there is no access to routes associated with zones that the API token does not have permission for.\n" +
You can’t perform that action at this time.
0 commit comments