diff --git a/module/module.go b/module/module.go index 710256f8b98..f2021069226 100644 --- a/module/module.go +++ b/module/module.go @@ -169,7 +169,7 @@ func (m *Module) Start(ctx context.Context) error { func (m *Module) Close(ctx context.Context) { m.mu.Lock() defer m.mu.Unlock() - m.logger.Info("Sutting down gracefully.") + m.logger.Info("Shutting down gracefully.") if m.parent != nil { if err := m.parent.Close(ctx); err != nil { m.logger.Error(err) diff --git a/module/server.go b/module/server.go index 04c048a3df0..9e071090824 100644 --- a/module/server.go +++ b/module/server.go @@ -58,7 +58,7 @@ func (s *Server) Serve(listener net.Listener) error { // ServeTLS is unsupported. func (s *Server) ServeTLS(listener net.Listener, certFile, keyFile string, tlsConfig *tls.Config) error { - return errors.New("tls unsupoorted on module grpc server") + return errors.New("tls unsupported on module grpc server") } // Stop performs a GracefulStop() on the underlying grpc server.