fix: the version number contains a line break

This commit is contained in:
withchao 2025-04-01 16:57:53 +08:00
parent 81493f843e
commit afec882b13

View File

@ -90,7 +90,7 @@ func Start(ctx context.Context, config *Config, client discovery.Conn, service g
//case <-ctx.Done(): //case <-ctx.Done():
//} //}
<-apiCtx.Done() <-apiCtx.Done()
exitCause := context.Cause(ctx) exitCause := context.Cause(apiCtx)
log.ZWarn(ctx, "api server exit", exitCause) log.ZWarn(ctx, "api server exit", exitCause)
timer := time.NewTimer(time.Second * 15) timer := time.NewTimer(time.Second * 15)
defer timer.Stop() defer timer.Stop()