Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Kubeedge
Commits
333af573
Unverified
Commit
333af573
authored
3 years ago
by
KubeEdge Bot
Committed by
GitHub
3 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #3421 from dsy3502/master
fix misspellings
parents
594484db
71d98416
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
keadm/cmd/keadm/app/cmd/debug/diagnose.go
+2
-2
keadm/cmd/keadm/app/cmd/debug/diagnose.go
with
2 additions
and
2 deletions
+2
-2
keadm/cmd/keadm/app/cmd/debug/diagnose.go
+
2
-
2
View file @
333af573
...
@@ -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
)
isEdgeRun
n
ing
,
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
!
isEdgeRun
n
ing
{
return
fmt
.
Errorf
(
"edgecore is not running"
)
return
fmt
.
Errorf
(
"edgecore is not running"
)
}
}
fmt
.
Println
(
"edgecore is running"
)
fmt
.
Println
(
"edgecore is running"
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment