commit | 59e8a0d32c1252f7df949d9377ceab0b39d6339f | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Tue Jun 18 20:48:47 2024 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Tue Jun 18 20:49:26 2024 +0000 |
tree | f6babc46c92a829a8f46e92404aa47d6efc1f72d | |
parent | 9d913d71a4b721125c7eb9bb103270f4da945cc5 [diff] |
Add plugin name to PluginCommandModule constructor Change-Id: Ibe9d7fdda923d668adf711e18bc6c5011be1cf10
diff --git a/src/main/java/com/googlesource/gerrit/plugins/adminconsole/SshModule.java b/src/main/java/com/googlesource/gerrit/plugins/adminconsole/SshModule.java index fa73ecc..9703cea 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/adminconsole/SshModule.java +++ b/src/main/java/com/googlesource/gerrit/plugins/adminconsole/SshModule.java
@@ -14,9 +14,17 @@ package com.googlesource.gerrit.plugins.adminconsole; +import com.google.gerrit.extensions.annotations.PluginName; import com.google.gerrit.sshd.PluginCommandModule; +import com.google.inject.Inject; public class SshModule extends PluginCommandModule { + + @Inject + SshModule(@PluginName String pluginName) { + super(pluginName); + } + @Override protected void configureCommands() { command(ShowAccountCommand.class);