Skip to content

Commit

Permalink
refactor: correcting typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Attack825 committed Aug 30, 2023
1 parent e592773 commit e40c105
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/services/comment/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/services/feed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/services/user/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit e40c105

Please sign in to comment.