Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions cmd/gortex/doctor.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,10 @@ func runDoctor(cmd *cobra.Command, _ []string) error {
// second error line — the findings already said what is wrong, and cobra
// would otherwise echo the error on top of them.
func doctorExit(r doctorRuntime) error {
if doctor.HasBlocker(r.Findings) {
return errDoctorBlocker
for _, a := range r.Agents {
if doctor.HasBlocker(a.Findings) {
return errDoctorBlocker
}
}
return nil
}
Expand Down
Loading
Loading