Fix grammer errors in code comments

This commit is contained in:
Ray Zhou
2020-05-20 20:31:19 +08:00
parent 6f97e3df14
commit 66a312a1e0
11 changed files with 17 additions and 26 deletions

View File

@@ -9,7 +9,7 @@ import (
"time"
)
// WaitForAPIServer waits for the API Server's /healthz endpoint to report "ok" with timeout.
// WaitForAPIServer waits for the API Server's /healthz endpoint to report "ok" before timeout.
func WaitForAPIServer(client clientset.Interface, timeout time.Duration) error {
var lastErr error

View File

@@ -43,7 +43,7 @@ func NewAPIServerCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "ks-apiserver",
Long: `The KubeSphere API server validates and configures data for the api objects.
Long: `The KubeSphere API server validates and configures data for the API objects.
The API Server services REST operations and provides the frontend to the
cluster's shared state through which all other components interact.`,
RunE: func(cmd *cobra.Command, args []string) error {