fix a few function names on comments (#2496)

Signed-off-by: cui fliter <imcusg@gmail.com>

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter
2022-10-10 22:12:11 +08:00
committed by GitHub
parent 7868667b4f
commit fc59aec2e7
3 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ type Deployment struct {
ImagePullPolicy string
}
// DeploymentCommand is used to generate the kubernetes deployment yaml files.
// deploymentCommand is used to generate the kubernetes deployment yaml files.
func deploymentCommand(_ *cobra.Command, _ []string) error {
nodePort := varIntNodePort
home := varStringHome

View File

@@ -8,7 +8,7 @@ import (
"github.com/zeromicro/go-zero/tools/goctl/rpc/execx"
)
// Upgrade gets the latest goctl by
// upgrade gets the latest goctl by
// go install github.com/zeromicro/go-zero/tools/goctl@latest
func upgrade(_ *cobra.Command, _ []string) error {
cmd := `GO111MODULE=on GOPROXY=https://goproxy.cn/,direct go install github.com/zeromicro/go-zero/tools/goctl@latest`