diff --git a/changelog/16930.txt b/changelog/16930.txt new file mode 100644 index 000000000..143168942 --- /dev/null +++ b/changelog/16930.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Fix lease force revoke action +``` \ No newline at end of file diff --git a/ui/app/adapters/lease.js b/ui/app/adapters/lease.js index 37426f818..163e71a90 100644 --- a/ui/app/adapters/lease.js +++ b/ui/app/adapters/lease.js @@ -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'); },