Fixed typos across the codebase (can not, cannot)

This commit is contained in:
Denis Arh
2021-03-17 17:25:05 +01:00
parent a848c7d0b8
commit 79ed77a379
94 changed files with 117 additions and 118 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func (s server) Serve(ctx context.Context) {
listener, err := net.Listen("tcp", s.httpOpt.Addr)
if err != nil {
s.log.Error("can not start server", zap.Error(err))
s.log.Error("cannot start server", zap.Error(err))
return
}
+1 -1
View File
@@ -39,7 +39,7 @@ func (s server) WaitFor(ctx context.Context) {
// Setup a simple HTTP server that will inform the impatient users
listener, err := net.Listen("tcp", s.httpOpt.Addr)
if err != nil {
s.log.Error("Can not start server", zap.Error(err))
s.log.Error("cannot start server", zap.Error(err))
os.Exit(1)
}
defer listener.Close()