mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
add --force to azdata arc postgres server delete (#13127)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
This commit is contained in:
@@ -95,7 +95,7 @@ export class AzdataTool implements azdataExt.IAzdataApi {
|
|||||||
postgres: {
|
postgres: {
|
||||||
server: {
|
server: {
|
||||||
delete: (name: string): Promise<azdataExt.AzdataOutput<void>> => {
|
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[]>> => {
|
list: (): Promise<azdataExt.AzdataOutput<azdataExt.PostgresServerListResult[]>> => {
|
||||||
return this.executeCommand<azdataExt.PostgresServerListResult[]>(['arc', 'postgres', 'server', 'list']);
|
return this.executeCommand<azdataExt.PostgresServerListResult[]>(['arc', 'postgres', 'server', 'list']);
|
||||||
|
|||||||
Reference in New Issue
Block a user