Skip to content

Commit f3a2aa1

Browse files
bitwisemantimja
andcommitted
Update src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubAppCredentials.java
Co-authored-by: Tim Jacomb <[email protected]>
1 parent e2fba20 commit f3a2aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubAppCredentials.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public Secret getPassword() {
173173
appInstallationToken = token.getToken();
174174
long expiration;
175175
try {
176-
// Adjust the token expiration to request a new token a earlier than required.
176+
// Adjust the token expiration to request a new token earlier than required.
177177
// This reduces the chance that a password will be requested and then
178178
// expire in the middle of a step execution
179179
expiration = token.getExpiresAt().toInstant().getEpochSecond() - TOKEN_EXPIRATION_BUFFER_SECONDS;

0 commit comments

Comments
 (0)