Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
yuexiao.fan committed Oct 25, 2023
1 parent f0aecb0 commit 615d718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

func RegisterNacos(cfg nacos.Config) {
if cfg.NacosUrls != "" {
log.Info("nacos config find")
log.Info(fmt.Sprintf("nacos config find NacosUrls %s", cfg.NacosUrls))
nacos.StartNacosClient(cfg.NacosUrls, cfg.NamespaceId, cfg.ApplicationName, cfg.ExternalListenAddr)
} else {
log.Error("no nacos config find")
Expand Down

0 comments on commit 615d718

Please sign in to comment.