Skip to content

Commit

Permalink
call new method in TopLevelItemDescriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
mawinter69 committed Aug 30, 2024
1 parent 6333a2a commit ee50b59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,6 @@ public static ExtensionList<TopLevelItemDescriptor> all() {

@Restricted(NoExternalUse.class)
public FormValidation doCheckDisplayNameOrNull(@AncestorInPath TopLevelItem item, @QueryParameter String value) {
return Jenkins.get().doCheckDisplayName(value, item.getName());
return Jenkins.get().checkDisplayName(value, item);
}
}

0 comments on commit ee50b59

Please sign in to comment.