diff options
author | Thomas Draebing <thomas.draebing@sap.com> | 2020-08-12 15:48:57 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-10-01 23:19:09 +0200 |
commit | 4e1b483034cb81fc12c9a3d6d912fbac65c970c1 (patch) | |
tree | d080a2d1a283429340c13d1832ac1f87cc5d4fe8 | |
parent | 401bebf2d966a49bacd1404242ac2a1b205b1e82 (diff) |
Register graceful shutdown for list plugins command
Change-Id: I13d8e93b81154e772bc0b8a255a3a9284aa73e39
-rw-r--r-- | java/com/google/gerrit/sshd/commands/PluginLsCommand.java | 1 |
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()) { |