mirror of
https://github.com/wneessen/logranger.git
synced 2024-12-22 18:10:39 +01:00
Correct spelling errors in error messages
Fixed spelling errors in error messages on server.go and listener.go files. The word "initalize" has been corrected to "initialize" in both files.
This commit is contained in:
parent
0a3f8780c5
commit
c9f7726473
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ func NewListener(c *Config) (net.Listener, error) {
|
|||
return nil, fmt.Errorf("failed to initialize listener: unknown listener type in config")
|
||||
}
|
||||
if lerr != nil {
|
||||
return nil, fmt.Errorf("failed to initalize listener: %w", lerr)
|
||||
return nil, fmt.Errorf("failed to initialize listener: %w", lerr)
|
||||
}
|
||||
return l, nil
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ func (s *Server) Run() error {
|
|||
}
|
||||
p, err := parsesyslog.New(s.conf.internal.ParserType)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to initalize syslog parser: %w", err)
|
||||
return fmt.Errorf("failed to initialize syslog parser: %w", err)
|
||||
}
|
||||
s.parser = p
|
||||
return s.RunWithListener(l)
|
||||
|
|
Loading…
Reference in a new issue