refactor(server/v2): Rename server component (#20873)

This commit is contained in:
Hieu Vu 2024-07-04 15:02:48 +07:00 committed by GitHub
parent 106872bd0e
commit e75f7b506b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ func (g *GRPCServer[AppT, T]) Init(appI AppT, v *viper.Viper, logger log.Logger)
}
func (g *GRPCServer[AppT, T]) Name() string {
return "grpc-server"
return "grpc"
}
func (g *GRPCServer[AppT, T]) Start(ctx context.Context) error {

View File

@ -84,7 +84,7 @@ func (s *CometBFTServer[AppT, T]) Init(appI AppT, v *viper.Viper, logger log.Log
}
func (s *CometBFTServer[AppT, T]) Name() string {
return "cometbft-server"
return "comet"
}
func (s *CometBFTServer[AppT, T]) Start(ctx context.Context) error {