fix: fix the config pass error

This commit is contained in:
luhaoling 2024-02-29 19:24:55 +08:00
parent f182d3e98f
commit 6c6eef8b0e

View File

@ -54,7 +54,7 @@ import (
)
func Start(config *config.GlobalConfig, port int, proPort int) error {
log.ZDebug(context.Background(), "configAPI", config, "port", port)
log.ZDebug(context.Background(), "configAPI1111111111111111111", config, "port", port, "javafdasfs")
if port == 0 || proPort == 0 {
err := "port or proPort is empty:" + strconv.Itoa(port) + "," + strconv.Itoa(proPort)
return errs.Wrap(fmt.Errorf(err))