Register graceful shutdown for list plugins command

Change-Id: I13d8e93b81154e772bc0b8a255a3a9284aa73e39
This commit is contained in:
Thomas Draebing
2020-08-12 15:48:57 +02:00
committed by Matthias Sohn
parent 401bebf2d9
commit 4e1b483034

View File

@@ -41,6 +41,7 @@ public class PluginLsCommand extends SshCommand {
@Override
public void run() throws Exception {
enableGracefulStop();
Map<String, PluginInfo> output = list.apply(TopLevelResource.INSTANCE);
if (format.isJson()) {