add --force to azdata arc postgres server delete (#13127)

Co-authored-by: Brian Bergeron <brberger@microsoft.com>
This commit is contained in:
Brian Bergeron
2020-10-29 09:51:04 -07:00
committed by GitHub
parent dd77c79090
commit 10f6fe2d09

View File

@@ -95,7 +95,7 @@ export class AzdataTool implements azdataExt.IAzdataApi {
postgres: {
server: {
delete: (name: string): Promise<azdataExt.AzdataOutput<void>> => {
return this.executeCommand<void>(['arc', 'postgres', 'server', 'delete', '-n', name]);
return this.executeCommand<void>(['arc', 'postgres', 'server', 'delete', '-n', name, '--force']);
},
list: (): Promise<azdataExt.AzdataOutput<azdataExt.PostgresServerListResult[]>> => {
return this.executeCommand<azdataExt.PostgresServerListResult[]>(['arc', 'postgres', 'server', 'list']);