diff --git a/metrics/server.go b/metrics/server.go index 0da89d07..78cd5df0 100644 --- a/metrics/server.go +++ b/metrics/server.go @@ -43,7 +43,7 @@ func (s *Server) Stop() error { return err } } - zap.L().Info("status server stop sucess", zap.String("addr", s.addr)) + zap.L().Info("status server stop success", zap.String("addr", s.addr)) return nil } @@ -58,7 +58,7 @@ func (s *Server) GracefulStop() error { return err } } - zap.L().Info("status serve graceful sucess", zap.String("addr", s.addr)) + zap.L().Info("status serve graceful success", zap.String("addr", s.addr)) return nil } diff --git a/tools/token/main.go b/tools/token/main.go index 969b185a..62ec963f 100644 --- a/tools/token/main.go +++ b/tools/token/main.go @@ -25,7 +25,7 @@ func main() { fmt.Printf("auth failed :%s\n", err) return } - fmt.Println("auth sucess") + fmt.Println("auth success") fmt.Println("Namespace:", string(ns)) } else { token, err := command.Token([]byte(key), []byte(namespace), time.Now().Unix())