summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Draebing <thomas.draebing@sap.com>2020-08-12 15:48:57 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2020-10-01 23:19:09 +0200
commit4e1b483034cb81fc12c9a3d6d912fbac65c970c1 (patch)
treed080a2d1a283429340c13d1832ac1f87cc5d4fe8
parent401bebf2d966a49bacd1404242ac2a1b205b1e82 (diff)
Register graceful shutdown for list plugins command
-rw-r--r--java/com/google/gerrit/sshd/commands/PluginLsCommand.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/google/gerrit/sshd/commands/PluginLsCommand.java b/java/com/google/gerrit/sshd/commands/PluginLsCommand.java
index 4effa3aeba..7216ed9bbd 100644
--- a/java/com/google/gerrit/sshd/commands/PluginLsCommand.java
+++ b/java/com/google/gerrit/sshd/commands/PluginLsCommand.java
@@ -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()) {