spring-cloud-config icon indicating copy to clipboard operation
spring-cloud-config copied to clipboard

Ref master cannot be resolved

Open baasanbat opened this issue 3 years ago • 1 comments

Description It's been a while since github changes 'master' branch name to 'main'. It seems like whatever I try config server tries to pull from branch name 'master' so that we get the error message 'Ref master cannot be resolved'. I put spring.cloud.config.server.git.default-label: main, I got no success.

Sample

spring:
  cloud:
    config:
      server:
        git:
          uri: private-repo-url
          default-label: main
          username: uname
          password: pwd
          clone-on-start: true

I have registry.yml on my repo. When I try to URL/registry/default/main, or either URL/registry/default I get the above exceptions.

baasanbat avatar Sep 21 '22 04:09 baasanbat

It's just printing a warning message most likely. Does the config server still work, can it serve the configuration?

ryanjbaxter avatar Sep 21 '22 10:09 ryanjbaxter

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

spring-cloud-issues avatar Sep 28 '22 10:09 spring-cloud-issues

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

spring-cloud-issues avatar Oct 05 '22 10:10 spring-cloud-issues