Merge pull request #1019 from tboerger/no-newlin
No newlines at end of log messages
This commit is contained in:
commit
26b5d1994a
@ -216,7 +216,7 @@ func (s *service) start() error {
|
||||
ch <- l.Close()
|
||||
}()
|
||||
|
||||
log.Logf("Listening on %v\n", l.Addr().String())
|
||||
log.Logf("Listening on %v", l.Addr().String())
|
||||
return nil
|
||||
}
|
||||
|
||||
@ -381,7 +381,7 @@ func (s *service) Run() error {
|
||||
select {
|
||||
// wait on kill signal
|
||||
case sig := <-ch:
|
||||
log.Logf("Received signal %s\n", sig)
|
||||
log.Logf("Received signal %s", sig)
|
||||
// wait on context cancel
|
||||
case <-s.opts.Context.Done():
|
||||
log.Logf("Received context shutdown")
|
||||
|
Loading…
x
Reference in New Issue
Block a user