Skip to content

Commit

Permalink
refactor: 优化输出提示
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyLTY committed Jan 30, 2024
1 parent 723e1c9 commit 158e7c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockercopilot.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ func main() {
var c config.Config
err := conf.Load(*configFile, &c, conf.UseEnv())
if err != nil {
logx.Errorf("无法加载配置文件: %v", err)
logx.Error("请重新拉取镜像")
logx.Errorf("无法加载配置文件出错: %v", err)
logx.Errorf("请确认secretKey设置正确,要求非纯数字且大于八位")
os.Exit(1)
}
server := rest.MustNewServer(c.RestConf, rest.WithCors("*"), rest.WithUnauthorizedCallback(
Expand Down

0 comments on commit 158e7c4

Please sign in to comment.