commit | ca085d32989bc2af1544e12a517bc55c2e679895 | [log] [tgz] |
---|---|---|
author | Kenyon Ralph <kralph@codeaurora.org> | Fri Dec 17 18:51:25 2021 -0800 |
committer | Kenyon Ralph <kralph@codeaurora.org> | Fri Dec 17 19:02:22 2021 -0800 |
tree | 02d7d3c72bb15d47891513dc4b546612f14c7591 | |
parent | fe064ff9f8ff371b508c7b03e7cb46e2c077d994 [diff] |
JiraConfig: get project namekey when calling evict() Due to the rename in I946e8df456424de52f694cdcf6456b77d452ae4c and implementation change in I6a8e89eeeaaade329742f373b096b0d4623a4176. Change-Id: Iad9cba3e47a6e65489d47995c7c5e94e28a35ab0
diff --git a/src/main/java/com/googlesource/gerrit/plugins/its/jira/JiraConfig.java b/src/main/java/com/googlesource/gerrit/plugins/its/jira/JiraConfig.java index e2bec95..b44d60e 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/its/jira/JiraConfig.java +++ b/src/main/java/com/googlesource/gerrit/plugins/its/jira/JiraConfig.java
@@ -135,7 +135,7 @@ config.addCommentLinkSection(commentlinkSection); md.getCommitBuilder().setAuthor(serverUser); md.getCommitBuilder().setCommitter(serverUser); - projectCache.evict(config.getProject()); + projectCache.evict(config.getProject().getNameKey()); config.commit(md); } } catch (ConfigInvalidException | IOException e) {