spelling: shutdown
This commit is contained in:
parent
8d191c9273
commit
8978caea28
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue