We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec4bf69 commit 8e13f59Copy full SHA for 8e13f59
1 file changed
src/main/java/org/jenkinsci/plugins/github/config/GitHubPluginConfig.java
@@ -90,8 +90,15 @@ public List<GitHubServerConfig> getConfigs() {
90
return configs;
91
}
92
93
+ /**
94
+ * @deprecated get GitHubServerConfig matching to exact remote GH server, filter and only then check allowToManage
95
+ */
96
+ @Deprecated
97
public boolean isManageHooks() {
- return from(getConfigs()).filter(allowedToManageHooks()).first().isPresent();
98
+ return from(getConfigs())
99
+ .filter(allowedToManageHooks())
100
+ .first()
101
+ .isPresent();
102
103
104
public void setHookUrl(URL hookUrl) {
0 commit comments