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 @@ -1539,15 +1539,7 @@ describe("deploy", () => {
15391539
15401540expect ( std . err ) . toMatchInlineSnapshot ( `""` ) ;
15411541expect ( std . warn ) . toMatchInlineSnapshot ( `
1542- "[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mThe current authentication token does not have 'All Zones' permissions.[0m
1543-
1544- Falling back to using the zone-based API endpoint to update each route individually.
1545- Note that there is no access to routes associated with zones that the API token does not have
1546- permission for.
1547- Existing routes for this Worker in such zones will not be deleted.
1548-
1549-
1550- [33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mPreviously deployed routes:[0m
1542+ "[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mPreviously deployed routes:[0m
15511543
15521544 The following routes were already associated with this worker, and have not been deleted:
15531545 - \\"foo.example.com/other-route\\"
Original file line number Diff line number Diff line change @@ -1225,7 +1225,7 @@ async function publishRoutesFallback(
12251225{ telemetryMessage : true }
12261226) ;
12271227}
1228- logger . warn (
1228+ logger . info (
12291229"The current authentication token does not have 'All Zones' permissions.\n" +
12301230"Falling back to using the zone-based API endpoint to update each route individually.\n" +
12311231"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