Skip to content

Commit 3bf4c01

Browse files
Merge pull request #88 from CatherineKiiru/master
Replaced "master" with "controller" in Java doc
2 parents 70d68ad + 728c039 commit 3bf4c01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/io/jenkins/plugins/httpclient/RobustHTTPClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ public final class RobustHTTPClient implements Serializable {
7676

7777
/**
7878
* Creates a client configured with reasonable defaults from system properties.
79-
* <p>This constructor should be run in the Jenkins master.
79+
* <p>This constructor should be run in the Jenkins controller.
8080
* To make requests from an agent JVM, create a {@code final} field of this type in your {@link MasterToSlaveCallable} or similar;
81-
* set it with a field initializer (run in the callable’s constructor on the master),
81+
* set it with a field initializer (run in the callable’s constructor on the controller),
8282
* letting the agent deserialize the configuration.
8383
*/
8484
public RobustHTTPClient() {
@@ -188,7 +188,7 @@ public void connect(String whatConcise, String whatVerbose, @NonNull ConnectionC
188188
} catch (TimeoutException x) {
189189
throw new ExecutionException(new IOException(x)); // ExecutionException unwrapped & treated as retryable below
190190
}
191-
listener.getLogger().flush(); // seems we can get interleaved output with master otherwise
191+
listener.getLogger().flush(); // seems we can get interleaved output with controller otherwise
192192
return; // success
193193
} catch (ExecutionException wrapped) {
194194
Throwable x = wrapped.getCause();

0 commit comments

Comments
 (0)