Skip to content

Commit 9133112

Browse files
authored
Migrate from EE 8 to EE 9 (jenkinsci#825)
1 parent 088b5f2 commit 9133112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubOrgMetadataAction.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public String getAvatarImageOf(String size) {
7676
String image = avatarIconClassNameImageOf(getAvatarIconClassName(), size);
7777
return image != null
7878
? image
79-
: (Stapler.getCurrentRequest().getContextPath()
79+
: (Stapler.getCurrentRequest2().getContextPath()
8080
+ Hudson.RESOURCE_PATH
8181
+ "/plugin/github-branch-source/images/"
8282
+ "/github-logo.svg");

0 commit comments

Comments
 (0)