Unverified Commit 333af573 authored by KubeEdge Bot's avatar KubeEdge Bot Committed by GitHub
Browse files

Merge pull request #3421 from dsy3502/master

fix misspellings
parents 594484db 71d98416
Showing with 2 additions and 2 deletions
+2 -2
...@@ -117,12 +117,12 @@ func (da Diagnose) ExecuteDiagnose(use string, ops *common.DiagnoseOptions, args ...@@ -117,12 +117,12 @@ func (da Diagnose) ExecuteDiagnose(use string, ops *common.DiagnoseOptions, args
func DiagnoseNode(ops *common.DiagnoseOptions) error { func DiagnoseNode(ops *common.DiagnoseOptions) error {
osType := util.GetOSInterface() osType := util.GetOSInterface()
isEdgeRuning, err := osType.IsKubeEdgeProcessRunning(util.KubeEdgeBinaryName) isEdgeRunning, err := osType.IsKubeEdgeProcessRunning(util.KubeEdgeBinaryName)
if err != nil { if err != nil {
return fmt.Errorf("get edgecore status fail") return fmt.Errorf("get edgecore status fail")
} }
if !isEdgeRuning { if !isEdgeRunning {
return fmt.Errorf("edgecore is not running") return fmt.Errorf("edgecore is not running")
} }
fmt.Println("edgecore is running") fmt.Println("edgecore is running")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment