diff --git a/pkg/api/controller/serviceAction.go b/pkg/api/controller/serviceAction.go index 56ca4e5eb..0bb67f662 100644 --- a/pkg/api/controller/serviceAction.go +++ b/pkg/api/controller/serviceAction.go @@ -176,7 +176,7 @@ func checkEventTimeOut(event *dbmodel.ServiceEvent) (bool, error) { func handleStatus(status int, err error, w http.ResponseWriter, r *http.Request) { if status != 0 { - logrus.Error("应用启动任务发送失败 "+err.Error(), map[string]string{"step": "callback", "status": "failure"}) + //logrus.Error("应用启动任务发送失败 "+err.Error(), map[string]string{"step": "callback", "status": "failure"}) if status == 2 { httputil.ReturnError(r, w, 400, "last event unfinish.") return diff --git a/pkg/grctl/cmd/init.go b/pkg/grctl/cmd/init.go index 5c50337eb..22514746f 100644 --- a/pkg/grctl/cmd/init.go +++ b/pkg/grctl/cmd/init.go @@ -53,7 +53,6 @@ func NewCmdInit() cli.Command { }, Usage: "初始化集群。grctl init cluster", Action: func(c *cli.Context) error { - Common(c) return initCluster(c) }, }