mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
UI: Use correct endpoint for force revoke prefix (#16930)
* Use correct endpoint for force revoke prefix * Add changelog
This commit is contained in:
parent
07927e036c
commit
cc0a21bbe1
2 changed files with 4 additions and 1 deletions
3
changelog/16930.txt
Normal file
3
changelog/16930.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
```release-note:bug
|
||||
ui: Fix lease force revoke action
|
||||
```
|
||||
|
|
@ -9,7 +9,7 @@ export default ApplicationAdapter.extend({
|
|||
},
|
||||
|
||||
forceRevokePrefix(prefix) {
|
||||
let url = this.buildURL() + '/leases/revoke-prefix/' + encodePath(prefix);
|
||||
let url = this.buildURL() + '/leases/revoke-force/' + encodePath(prefix);
|
||||
url = url.replace(/\/$/, '');
|
||||
return this.ajax(url, 'PUT');
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue