Skip to content

Agent Mesh

fix: drop redundant refresh after bootstrap token revocation

Fernando Marino8bac8ec140a2
diff --git a/internal/console/public/app.js b/internal/console/public/app.js
index 46ac4970..0df0ca78 100644
--- a/internal/console/public/app.js
+++ b/internal/console/public/app.js
@@ -728,7 +728,7 @@ function renderBootstrapTokensTable(tokens) {
window.revokeBootstrapToken = function(id) {
if (confirm('Revoke this bootstrap token? It will no longer be usable to enroll or re-enroll any node.')) {
- actionRequest(`api/admin/bootstrap-tokens/${id}`, 'DELETE').then(loadData).catch(() => {});
+ actionRequest(`api/admin/bootstrap-tokens/${id}`, 'DELETE').catch(() => {});
}
};