diff --git a/src/services/comment/main.go b/src/services/comment/main.go index 2f93f78..f11ce9f 100644 --- a/src/services/comment/main.go +++ b/src/services/comment/main.go @@ -74,7 +74,7 @@ func main() { health.RegisterHealthServer(s, &probe) defer CloseMQConn() if err := consul.RegisterConsul(config.CommentRpcServerName, config.CommentRpcServerPort); err != nil { - log.Panicf("Rpc %s register consul hanpens error for: %v", config.CommentRpcServerName, err) + log.Panicf("Rpc %s register consul happens error for: %v", config.CommentRpcServerName, err) } srv.New() srvMetrics.InitializeMetrics(s) diff --git a/src/services/feed/main.go b/src/services/feed/main.go index 584dfe9..6ef19cc 100644 --- a/src/services/feed/main.go +++ b/src/services/feed/main.go @@ -74,7 +74,7 @@ func main() { health.RegisterHealthServer(s, &probe) defer CloseMQConn() if err := consul.RegisterConsul(config.FeedRpcServerName, config.FeedRpcServerPort); err != nil { - log.Panicf("Rpc %s register consul hanpens error for: %v", config.FeedRpcServerName, err) + log.Panicf("Rpc %s register consul happens error for: %v", config.FeedRpcServerName, err) } srv.New() srvMetrics.InitializeMetrics(s) diff --git a/src/services/user/main.go b/src/services/user/main.go index 9807506..0ce697e 100644 --- a/src/services/user/main.go +++ b/src/services/user/main.go @@ -68,7 +68,7 @@ func main() { ) if err := consul.RegisterConsul(config.UserRpcServerName, config.UserRpcServerPort); err != nil { - log.Panicf("Rpc %s register consul hanpens error for: %v", config.UserRpcServerName, err) + log.Panicf("Rpc %s register consul happens error for: %v", config.UserRpcServerName, err) } log.Infof("Rpc %s is running at %s now", config.UserRpcServerName, config.UserRpcServerPort)