diff options
| author | Jeff Carr <[email protected]> | 2024-10-13 02:23:30 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-13 02:23:30 -0500 |
| commit | ca1a78394fe2fe7d556153819dd5f20e3d65920a (patch) | |
| tree | 676168a2e3cc55f67c0fc7091dae3e0c1377a8d6 /main.go | |
| parent | 268cec143ae544d8b6abed55b2f84570b51ea030 (diff) | |
attempt to generate an event. next up: protobuf
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -46,6 +46,16 @@ func main() { me.hypers = append(me.hypers, h) } + if argv.Start != "" { + d := findDroplet(argv.Start) + if d == nil { + log.Info("droplet is unknown:", argv.Start) + } else { + log.Info("start droplet here:", d.Hostname) + } + os.Exit(0) + } + // start the watchdog polling for each hypervisor for _, h := range me.hypers { log.Info("starting watchdog here for hostname =", h.Hostname) |
