commit | 0489afa512bcd1b8d3731618cca93f78869ec59d | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Wed Jun 26 14:26:44 2024 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Wed Jun 26 14:27:01 2024 +0000 |
tree | 026c141ace07aebbaa43b10b55c5c99200e1fb72 | |
parent | 1354ab19fe78f7d5cab8ab19976cf4a33c7a8d10 [diff] |
Add plugin name to PluginCommandModule constructor Change-Id: I7749429f0c1a3c348b0e7e384d3cca2dfb3da866
diff --git a/src/main/java/com/ericsson/gerrit/plugins/gcconductor/command/SshModule.java b/src/main/java/com/ericsson/gerrit/plugins/gcconductor/command/SshModule.java index ad43f08..9bc706b 100644 --- a/src/main/java/com/ericsson/gerrit/plugins/gcconductor/command/SshModule.java +++ b/src/main/java/com/ericsson/gerrit/plugins/gcconductor/command/SshModule.java
@@ -14,10 +14,17 @@ package com.ericsson.gerrit.plugins.gcconductor.command; +import com.google.gerrit.extensions.annotations.PluginName; import com.google.gerrit.sshd.PluginCommandModule; +import com.google.inject.Inject; class SshModule extends PluginCommandModule { + @Inject + SshModule(@PluginName String pluginName) { + super(pluginName); + } + @Override protected void configureCommands() { command(SetQueuedFrom.class);