Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

Remove unused standaloneAgentConfig function (dead code)

Cursor Agentbf3c90ce5ea6
diff --git a/cli/beacon/internal/endpoint/elastic/elastic.go b/cli/beacon/internal/endpoint/elastic/elastic.go
index 7ca5e344..6d0606be 100644
--- a/cli/beacon/internal/endpoint/elastic/elastic.go
+++ b/cli/beacon/internal/endpoint/elastic/elastic.go
@@ -140,11 +140,6 @@ func InputSnippet(logPath string) (string, error) {
return inputSnippetFromFS(packFS, logPath)
}
-// standaloneAgentConfig returns the elastic-agent standalone config with logPath substituted.
-func standaloneAgentConfig(logPath string) (string, error) {
- return standaloneAgentConfigFromFS(packFS, logPath)
-}
-
// InstallPack writes the pack files to outputDir with logPath substituted.
func InstallPack(outputDir, logPath string) error {
if outputDir == "" {