commit d06ea9ce3907d7268638281e02fa7f968b354813 Author: Thomas Draebing Date: Wed Aug 12 15:53:25 2020 +0200 Register graceful shutdown for rename group command Change-Id: I8b82ddc169583d97e7bf79a89dd0c09d7c900202 diff --git a/java/com/google/gerrit/sshd/commands/RenameGroupCommand.java b/java/com/google/gerrit/sshd/commands/RenameGroupCommand.java index 166ad68..976e7bd 100644 --- a/java/com/google/gerrit/sshd/commands/RenameGroupCommand.java +++ b/java/com/google/gerrit/sshd/commands/RenameGroupCommand.java @@ -46,6 +46,7 @@ public class RenameGroupCommand extends SshCommand { @Override protected void run() throws Failure { + enableGracefulStop(); try { GroupResource rsrc = groups.parse(TopLevelResource.INSTANCE, IdString.fromDecoded(groupName)); NameInput input = new NameInput();