commit | b219aa4d05fe3b4e98619496c2ebb5b5c8bf85c5 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david.ostrovsky@gmail.com> | Fri Dec 31 10:00:29 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Dec 31 10:00:29 2021 +0000 |
tree | a7507fc47af2c75d9c35facae46a77e49ac972d1 | |
parent | 3b1ca2e743ac74c3f1f4181b9b708b8fdf76c0af [diff] | |
parent | 753a4c3eefad31987436e074560ef53721bfafbf [diff] |
Merge "Fix FloggerArgumentToString bug pattern flagged by error prone"
diff --git a/src/main/java/com/googlesource/gerrit/plugins/webhooks/rest/DeleteRemote.java b/src/main/java/com/googlesource/gerrit/plugins/webhooks/rest/DeleteRemote.java index 408b092..1a25401 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/webhooks/rest/DeleteRemote.java +++ b/src/main/java/com/googlesource/gerrit/plugins/webhooks/rest/DeleteRemote.java
@@ -61,7 +61,7 @@ wh.commit(md); } - projectCache.evict(rsrc.getProject()); + projectCache.evictAndReindex(rsrc.getProject()); return Response.none(); }
diff --git a/src/main/java/com/googlesource/gerrit/plugins/webhooks/rest/UpsertRemote.java b/src/main/java/com/googlesource/gerrit/plugins/webhooks/rest/UpsertRemote.java index 56d2836..089d4e6 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/webhooks/rest/UpsertRemote.java +++ b/src/main/java/com/googlesource/gerrit/plugins/webhooks/rest/UpsertRemote.java
@@ -129,7 +129,7 @@ wh.commit(md); } - projectCache.evict(project); + projectCache.evictAndReindex(project); Config cfg = configFactory.getProjectPluginConfigWithInheritance(project, pluginName); RemoteConfig rc = remoteConfigFactory.create(cfg, remoteName);