style(channel): fix CI formatting in split PR2

This commit is contained in:
Sakurapainting 2026-04-02 09:14:55 +08:00
parent c146e7edd2
commit 55189c571b
2 changed files with 6 additions and 2 deletions

View file

@ -21,7 +21,7 @@ func newStartCommand() *cobra.Command {
Short: "Start channels without gateway side services", Short: "Start channels without gateway side services",
Long: "Start enabled channels and AgentLoop without gateway side services.\n\n" + Long: "Start enabled channels and AgentLoop without gateway side services.\n\n" +
"This mode is channel-agnostic and follows your config. Current runtime validation is primarily focused on QQ; other channels are continuously validated.", "This mode is channel-agnostic and follows your config. Current runtime validation is primarily focused on QQ; other channels are continuously validated.",
Args: cobra.NoArgs, Args: cobra.NoArgs,
PreRunE: func(_ *cobra.Command, _ []string) error { PreRunE: func(_ *cobra.Command, _ []string) error {
if noTruncate && !debug { if noTruncate && !debug {
return fmt.Errorf("the --no-truncate option can only be used in conjunction with --debug (-d)") return fmt.Errorf("the --no-truncate option can only be used in conjunction with --debug (-d)")

View file

@ -180,7 +180,11 @@ func setupAndStartChannelServices(
} }
if runningServices.ListenHost != "" { if runningServices.ListenHost != "" {
fmt.Printf("✓ Health endpoints available at http://%s:%d/health and /ready\n", runningServices.ListenHost, runningServices.ListenPort) fmt.Printf(
"✓ Health endpoints available at http://%s:%d/health and /ready\n",
runningServices.ListenHost,
runningServices.ListenPort,
)
} else { } else {
fmt.Println("⚠ Shared HTTP server disabled; /health and webhook endpoints are unavailable") fmt.Println("⚠ Shared HTTP server disabled; /health and webhook endpoints are unavailable")
} }