Skip to content

Commit

Permalink
Use "permanent" as canonical symbol
Browse files Browse the repository at this point in the history
This better reflect the web UI display name "Permanent Agent" for this Agent flavour
https://github.com/ndeloof/jenkins/blob/agent/core/src/main/resources/hudson/slaves/Messages.properties#L32
  • Loading branch information
ndeloof committed Jun 7, 2018
1 parent c209e64 commit 9e282dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/slaves/DumbSlave.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public DumbSlave(@Nonnull String name, String remoteFS, ComputerLauncher launche
super(name, remoteFS, launcher);
}

@Extension @Symbol({"agent" /*because this is in effect the canonical slave type*/,
@Extension @Symbol({"permanent" /*because this is in effect the canonical slave type*/,
"dumb", "slave"})
public static final class DescriptorImpl extends SlaveDescriptor {
public String getDisplayName() {
Expand Down

0 comments on commit 9e282dc

Please sign in to comment.