8000 Trying to make the reviewer happy · github-cloud/github-plugin@633ce4e · GitHub
[go: up one dir, main page]

Skip to content

Commit 633ce4e

Browse files
committed
Trying to make the reviewer happy
1 parent c990995 commit 633ce4e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/resources/org/jenkinsci/plugins/github/config/GitHubPluginConfig/config.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ f.section(title: descriptor.displayName) {
1010

1111
f.repeatableHeteroProperty(
1212
field: "configs",
13-
hasHeader: "true")
13+
hasHeader: "true",
14+
addCaption: _("Add GitHub Server"))
1415
}
1516

1617
f.advanced() {

src/test/java/org/jenkinsci/plugins/github/internal/GitHubClientCacheCleanupTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private void makeCachedRequestWithCredsId(String credsId) throws IOException {
105105
GitHubServerConfig config = new GitHubServerConfig(credsId);
106106
config.setApiUrl(github.serverConfig().getApiUrl());
107107
config.setClientCacheSize(1);
108-
GitHub gitHub = new GitHubLoginFunction().apply(config);
108+
GitHub gitHub = GitHubServerConfig.loginToGithub().apply(config);
109109
gitHub.getMyself();
110110
}
111111
}

0 commit comments

Comments
 (0)
0