commit | 9a413b3a065b309aeab89ad75c17239d148bece3 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Tue Aug 08 08:55:51 2023 +0300 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Tue Aug 08 08:55:51 2023 +0300 |
tree | 05b3206ac388c690ad03439e54cb6efec03696e6 | |
parent | 237ac23579fb7face958b3b14529dc8ee82c17b5 [diff] | |
parent | 3c5a953ce14a0379711a4aa85d860de2a7f148b6 [diff] |
Merge branch 'stable-3.8' * stable-3.8: Fix cache eviction upon project import from GitHub Build github plugin against the v3.8.0 Gerrit API Change-Id: Iabf238a7127445aebbc6c69b79b993e79cd1d2e3
diff --git a/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/CreateProjectStep.java b/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/CreateProjectStep.java index f25e6ee..7147d54 100644 --- a/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/CreateProjectStep.java +++ b/github-plugin/src/main/java/com/googlesource/gerrit/plugins/github/git/CreateProjectStep.java
@@ -178,7 +178,7 @@ progress.update(1); md.setMessage("Imported from " + getSourceUri()); projectConfig.commit(md); - projectCache.onCreateProject(getProjectNameKey()); + projectCache.evict(getProjectNameKey()); } finally { if (md != null) { md.close();