From d50324a8c749cf1731b539b963ada507bb9feaf0 Mon Sep 17 00:00:00 2001 From: mwdd146980 Date: Thu, 26 Sep 2024 18:20:21 -0400 Subject: [PATCH] change two diagnosis fails to warnings in ports.go --- pkg/diagnose/ports/ports.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/diagnose/ports/ports.go b/pkg/diagnose/ports/ports.go index f06a178e9bf41..e1f703da649ba 100644 --- a/pkg/diagnose/ports/ports.go +++ b/pkg/diagnose/ports/ports.go @@ -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 } @@ -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 }