Adapt localrefdb script to Gerrit v3.10.0 The PluginCommandModule has a different constructor in Gerrit v3.10 therefore the command module fo the localrefdb script needs amending. Change-Id: Ia8d445f38b0085eeb27304f70a7c202201f37e9a
diff --git a/multi-primary/localrefdb.groovy b/multi-primary/localrefdb.groovy index cdcf864..a219377 100644 --- a/multi-primary/localrefdb.groovy +++ b/multi-primary/localrefdb.groovy
@@ -198,6 +198,12 @@ } class LocalRefDbCommandModule extends PluginCommandModule { + + @Inject + LocalRefDbCommandModule(@PluginName String pluginName) { + super(pluginName); + } + protected void configureCommands() { command(CountRefs) command(Sha1AllRefs)