docs(telemetry): fix fictional launcher.Register/health.Register in doc examples #2
@@ -31,8 +31,8 @@
|
||||
// }
|
||||
// defer shutdown(ctx)
|
||||
//
|
||||
// // Wire into the launcher so shutdown runs before process exit:
|
||||
// // launcher.BeforeStop(func() error { return shutdown(ctx) })
|
||||
// // Place the defer before lc.Run() so shutdown fires after the launcher
|
||||
// // stops, before the process exits.
|
||||
// }
|
||||
//
|
||||
// # Local Development: console mode
|
||||
|
||||
Reference in New Issue
Block a user