Skip to content

Commit a0cf4fa

Browse files
committed
fix: doctor shows affected tow commands for missing server tools
1 parent 0a99833 commit a0cf4fa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎cmd/tow/cmd_monitor.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,11 +686,11 @@ fi
686686
impact := ""
687687
switch toolName {
688688
case "nc":
689-
impact = " (TCP health check will fall back to bash /dev/tcp)"
689+
impact = " → affects: tow start (TCP health check falls back to bash /dev/tcp)"
690690
case "lsof":
691-
impact = " (status/stop by port will not work)"
691+
impact = " → affects: tow status, tow stop, tow threaddump (PID detection by port)"
692692
case "curl":
693-
impact = " (HTTP health check will not work)"
693+
impact = " → affects: tow start (HTTP health check), tow doctor (HTTP endpoint check)"
694694
}
695695
fmt.Printf(" %s! %s — recommended%s. Fix: %s%s\n", logger.ColorYellow, toolName, impact, installCmd, logger.ColorReset)
696696
}

0 commit comments

Comments
 (0)