Call unregisterCommand instead of registerCommand (#4596)

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
This commit is contained in:
jimtng
2025-02-15 17:29:44 +01:00
committed by GitHub
parent fe9af132aa
commit 3a30c7a44a
@@ -100,7 +100,7 @@ public class ConsoleSupportKaraf {
*/
private void unregisterCommands() {
for (final ConsoleCommandExtension command : commands) {
registerCommand(command);
unregisterCommand(command);
}
}