Closed linjisong closed 5 years ago
In my project, the following is configured
spring: profiles: git cloud: config: server: default-label: master git: uri: https://github.com/smartapi-cloud-config-repo.git repos: smartapi-cloud-demo: pattern: smartapi-cloud-demo-* uri: https://github.com/smartapi-cloud-config-demo.git smartapi-cloud: pattern: smartapi-cloud-* uri: https://github.com/smartapi-cloud-config.git
I want smartapi-cloud-demo-base to visit https://github.com/smartapi-cloud-config-demo.git, but actually access https://github.com/smartapi-cloud-config.git, here Pattern matching has no priority?
smartapi-cloud-demo-base
https://github.com/smartapi-cloud-config-demo.git
https://github.com/smartapi-cloud-config.git
You are mixing paradigms. By providing git.uri it will always go there first
In my project, the following is configured
I want
smartapi-cloud-demo-base
to visithttps://github.com/smartapi-cloud-config-demo.git
, but actually accesshttps://github.com/smartapi-cloud-config.git
, here Pattern matching has no priority?