Skip to content

Commit fa56207

Browse files
authored
Add force flag to delete backend (#6635)
* adding force flag * add changelog entry
1 parent eefa8e0 commit fa56207

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
- Fixed issue where Auth emulator sign in with Google only shows default tenant. (#6683)
22
- Prevent the use of pinTags + minInstances on the same function, as the features are not mutually compatible (#6684)
3+
- Add force flag to delete backend (#6635).

src/gcp/apphosting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export async function deleteBackend(
297297
location: string,
298298
backendId: string
299299
): Promise<Operation> {
300-
const name = `projects/${projectId}/locations/${location}/backends/${backendId}`;
300+
const name = `projects/${projectId}/locations/${location}/backends/${backendId}?force=true`;
301301
const res = await client.delete<Operation>(name);
302302

303303
return res.body;

0 commit comments

Comments
 (0)