mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Make 'deprecated' a meta label (not shown in the regular label list)
This commit is contained in:
1 parent
f8c12c714b
commit
56c11a3f79
1 file changed
+1
-1
@@ -2280,7 +2280,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
|
||||
@Restricted(DoNotUse.class) // Used from table.jelly
|
||||
public boolean isMetaLabel(String label) {
|
||||
return "adopt-this-plugin".equals(label);
|
||||
return "adopt-this-plugin".equals(label) || "deprecated".equals(label);
|
||||
}
|
||||
|
||||
@Restricted(DoNotUse.class) // Used from table.jelly
|
||||
|
||||
Reference in new issue
Block a user