You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't want to require pagerduty for external registries. But making
this code no-op if the environment variables are missing would mean we
don't get informed if things are mis-configured or un-configured.
We aren't expecting this to be called from most code, only a handful of
binaries that are specifically intended to monitor the service. In order
to prevent this code from accidentally getting used throughout the app
(though hopefully nobody is calling a function documented as "wakes up
whoever is on-call" willy nilly), we can move this into the `bin`
directory.
We're specifically using `on_call/mod.rs` instead of `on_call.rs` so
Cargo doesn't think that this file is supposed to be its own binary.
0 commit comments