Separate the agent from the olm version

This commit is contained in:
Owen
2026-10-22 15:09:05 -04:00
parent 256143adea
commit 71625bf11d
4 changed files with 51 additions and 13 deletions
+2 -1
View File
@@ -238,7 +238,8 @@ func runOlmMainWithArgs(ctx context.Context, cancel context.CancelFunc, signalCt
SocketPath: config.SocketPath,
Version: config.Version,
Agent: "Olm CLI",
OnExit: cancel, // Pass cancel function directly to trigger shutdown
OlmVersion: config.Version, // the standalone binary is olm itself
OnExit: cancel, // Pass cancel function directly to trigger shutdown
OnTerminated: cancel,
PprofAddr: ":4444", // TODO: REMOVE OR MAKE CONFIGURABLE
// Re-invoke this binary in watchdog mode to clean up DNS if we die.