diff --git a/client/driver/logging/syslog_server.go b/client/driver/logging/syslog_server.go index 5b9c5f40f..b8ab8e68e 100644 --- a/client/driver/logging/syslog_server.go +++ b/client/driver/logging/syslog_server.go @@ -77,7 +77,7 @@ func (s *SyslogServer) read(connection net.Conn) { } } -// Shutdown shutsdown the syslog server +// Shutdown the syslog server func (s *SyslogServer) Shutdown() { s.doneLock.Lock() defer s.doneLock.Unlock() diff --git a/command/agent/command.go b/command/agent/command.go index bcfe09255..ec619a0ee 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -479,7 +479,7 @@ func (c *Command) Run(args []string) int { } defer c.agent.Shutdown() - // Shudown the HTTP server at the end + // Shutdown the HTTP server at the end defer func() { if c.httpServer != nil { c.httpServer.Shutdown()