From 5ab5b435cc1f09cc33ba5e898baa09df466f90ef Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Date: Tue, 20 Apr 2021 10:46:47 +0200 Subject: [PATCH] fix: can't delete GitHub Enterprise servers --- .../plugins/github_branch_source/GitHubConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubConfiguration.java b/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubConfiguration.java index 2fc1024a1e..7cf2a153c8 100644 --- a/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubConfiguration.java +++ b/src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubConfiguration.java @@ -59,7 +59,7 @@ public GitHubConfiguration() { @Override public boolean configure(StaplerRequest req, JSONObject json) throws FormException { - endpoints = null; + setEndpoints(null); req.bindJSON(this, json); return true; }