Skip to content

Commit

Permalink
Merge branch 'add-icons-to-command-palette' of github.com:janfaracik/…
Browse files Browse the repository at this point in the history
…jenkins into add-icons-to-command-palette
  • Loading branch information
timja committed Dec 11, 2024
2 parents d6868c9 + 2673844 commit 1b9faa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions core/src/main/java/hudson/model/Computer.java
Original file line number Diff line number Diff line change
Expand Up @@ -1109,11 +1109,6 @@ public String getSearchUrl() {
return getUrl();
}

@Override
public String getSearchIcon() {
return this.getIconClassName();
}

/**
* {@link RetentionStrategy} associated with this computer.
*
Expand Down
3 changes: 2 additions & 1 deletion core/src/main/java/jenkins/model/IComputer.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import jenkins.agents.IOfflineCause;
import org.jenkins.ui.icon.Icon;
import org.jenkins.ui.icon.IconSet;
import org.jenkins.ui.icon.IconSpec;
import org.kohsuke.accmod.Restricted;
import org.kohsuke.accmod.restrictions.Beta;

Expand All @@ -44,7 +45,7 @@
* @since 2.480
*/
@Restricted(Beta.class)
public interface IComputer extends AccessControlled {
public interface IComputer extends AccessControlled, IconSpec {
/**
* Returns {@link Node#getNodeName() the name of the node}.
*/
Expand Down

0 comments on commit 1b9faa8

Please sign in to comment.