Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #1690

Merged
merged 1 commit into from
Dec 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion module/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down