mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-05-03 03:43:54 +01:00
Use main as the branch name in info endpoint example
Closes gh-25865
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ class InfoEndpointDocumentationTests extends MockMvcEndpointDocumentationTests {
|
||||
@Bean
|
||||
GitInfoContributor gitInfoContributor() {
|
||||
Properties properties = new Properties();
|
||||
properties.put("branch", "master");
|
||||
properties.put("branch", "main");
|
||||
properties.put("commit.id", "df027cf1ec5aeba2d4fedd7b8c42b88dc5ce38e5");
|
||||
properties.put("commit.id.abbrev", "df027cf");
|
||||
properties.put("commit.time", Long.toString(System.currentTimeMillis()));
|
||||
|
||||
Reference in New Issue
Block a user