Skip to content

Commit ce6f84e

Browse files
committed
Fix 'occured' -> 'occurred' typo in JGitEnvironmentRepository clone-error log
logger.warn message in JGitEnvironmentRepository.java emitted when the initial JGit clone to the base directory fails read 'Error occured cloning to base directory'. The message reaches operators in spring-cloud-config-server logs. String-literal-only change.
1 parent fbf6e76 commit ce6f84e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/JGitEnvironmentRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ private Git cloneToBasedir() throws GitAPIException {
676676
return clone.call();
677677
}
678678
catch (GitAPIException e) {
679-
this.logger.warn("Error occured cloning to base directory.", e);
679+
this.logger.warn("Error occurred cloning to base directory.", e);
680680
deleteBaseDirIfExists();
681681
throw e;
682682
}

0 commit comments

Comments
 (0)