mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
spelling: shutdown
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user