Call unregisterCommand instead of registerCommand (#4596)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
pull/4561/head
jimtng 2025-02-16 02:29:44 +10:00 committed by GitHub
parent fe9af132aa
commit 3a30c7a44a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class ConsoleSupportKaraf {
*/
private void unregisterCommands() {
for (final ConsoleCommandExtension command : commands) {
registerCommand(command);
unregisterCommand(command);
}
}