spelling: shutdown

This commit is contained in:
Josh Soref 2018-03-11 18:55:49 +00:00
parent 8d191c9273
commit 8978caea28
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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()