From 4e791b5f11e288546463b3c435304a713ed58b66 Mon Sep 17 00:00:00 2001 From: Katharina Xenia Kufieta Date: Mon, 19 Dec 2022 15:39:27 -0500 Subject: [PATCH] Fix typos --- module/module.go | 2 +- module/server.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.