Skip to content

Commit

Permalink
change two diagnosis fails to warnings in ports.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mwdd146980 committed Sep 26, 2024
1 parent 53795f4 commit d50324a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/diagnose/ports/ports.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ func DiagnosePortSuite() []diagnosis.Diagnosis {
if port.Pid == 0 {
diagnoses = append(diagnoses, diagnosis.Diagnosis{
Name: key,
Result: diagnosis.DiagnosisFail,
Diagnosis: fmt.Sprintf("Required port %d is already used by an another process.", value),
Result: diagnosis.DiagnosisWarning,
Diagnosis: fmt.Sprintf("Required port %d is already used by an another process. Verify the process that is using this port is an Agent process.", value),
})
continue
}
Expand All @@ -86,8 +86,8 @@ func DiagnosePortSuite() []diagnosis.Diagnosis {
if port.Process == "" && port.Pid != 0 {
diagnoses = append(diagnoses, diagnosis.Diagnosis{
Name: key,
Result: diagnosis.DiagnosisFail,
Diagnosis: fmt.Sprintf("Required port %d is already used by an another process (PID=%d).", value, port.Pid),
Result: diagnosis.DiagnosisWarning,
Diagnosis: fmt.Sprintf("Required port %d is already used by an another process (PID=%d). Verify that the process that is using this port is an Agent process.", value, port.Pid),
})
continue
}
Expand Down

0 comments on commit d50324a

Please sign in to comment.