小知识:springCloudConfgServer启动时报警告:.c.s.e.MultipleJGitEnvironmentRepository : Could not fetch remote for master remote:


配置文件里增加强制pull。发生原因:git判断本地数据和服务器不一致时,不进行更新。
spring:
  cloud:
    config:
      server:
        git:
          force-pull: true


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM