Merge branch 'stable-2.11'
* stable-2.11: Fix wrong date/time for commits in refs/meta/config branch Fix disabling of git ssh 'download' scheme within DefaultCommandModule Change-Id: Id9f12bf2bcd35092231784eecec607a0574d357e
This commit is contained in:
@@ -79,7 +79,7 @@ public class PutConfig implements RestModifyView<ProjectResource, Input> {
|
||||
}
|
||||
|
||||
private final Config gerritConfig;
|
||||
private final MetaDataUpdate.User metaDataUpdateFactory;
|
||||
private final Provider<MetaDataUpdate.User> metaDataUpdateFactory;
|
||||
private final ProjectCache projectCache;
|
||||
private final GitRepositoryManager gitMgr;
|
||||
private final ProjectState.Factory projectStateFactory;
|
||||
@@ -93,7 +93,7 @@ public class PutConfig implements RestModifyView<ProjectResource, Input> {
|
||||
|
||||
@Inject
|
||||
PutConfig(@GerritServerConfig Config gerritConfig,
|
||||
MetaDataUpdate.User metaDataUpdateFactory,
|
||||
Provider<MetaDataUpdate.User> metaDataUpdateFactory,
|
||||
ProjectCache projectCache,
|
||||
GitRepositoryManager gitMgr,
|
||||
ProjectState.Factory projectStateFactory,
|
||||
@@ -138,7 +138,7 @@ public class PutConfig implements RestModifyView<ProjectResource, Input> {
|
||||
|
||||
final MetaDataUpdate md;
|
||||
try {
|
||||
md = metaDataUpdateFactory.create(projectName);
|
||||
md = metaDataUpdateFactory.get().create(projectName);
|
||||
} catch (RepositoryNotFoundException notFound) {
|
||||
throw new ResourceNotFoundException(projectName.get());
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user