【发布时间】:2022-02-01 19:05:53
【问题描述】:
当连接一个git配置的spring boot cloud config server时,如何引用不同的分支?
目前我可以通过 curling localhost:4001/myservicename/default 访问子文件夹的数据。 myservicename 是一个子目录,我的 application.properties 包括子文件夹:spring.cloud.config.server.git.searchPaths=myservicename
当前的默认标签是:spring.cloud.config.server.git.default-label=main
【问题讨论】:
-
localhost:4001/myservicename/default/branch
标签: spring spring-boot spring-cloud