Merge "Turn off http features not intended for slave"

This commit is contained in:
Saša Živkov
2014-10-31 14:13:37 +00:00
committed by Gerrit Code Review
5 changed files with 61 additions and 32 deletions

View File

@@ -356,7 +356,7 @@ public class Daemon extends SiteProgram {
modules.add(new AbstractModule() {
@Override
protected void configure() {
bind(GerritOptions.class).toInstance(new GerritOptions(headless));
bind(GerritOptions.class).toInstance(new GerritOptions(headless, slave));
if (test) {
bind(SecureStore.class).toProvider(SecureStoreProvider.class);
}