@@ -470,7 +470,7 @@ func (f *Fixture) simpleInstallRPM(ctx context.Context) ([]byte, error) {
470470 return out , fmt .Errorf ("apt install failed: %w output:%s" , err , string (out ))
471471 }
472472
473- socketPath := "unix:///var/lib/elastic-agent/elastic-agent.sock" // Why does controlSocketRunSylink not work here?
473+ socketPath := "unix:///var/lib/elastic-agent/elastic-agent.sock"
474474 c := client .New (client .WithAddress (socketPath ))
475475 f .setClient (c )
476476 return nil , nil
@@ -490,7 +490,7 @@ func (f *Fixture) simpleInstallDeb(ctx context.Context) ([]byte, error) {
490490 return out , fmt .Errorf ("apt install failed: %w output:%s" , err , string (out ))
491491 }
492492
493- socketPath := "unix:///var/lib/elastic-agent/elastic-agent.sock" // Why does controlSocketRunSylink not work here?
493+ socketPath := "unix:///var/lib/elastic-agent/elastic-agent.sock"
494494 c := client .New (client .WithAddress (socketPath ))
495495 f .setClient (c )
496496
@@ -550,7 +550,7 @@ func (f *Fixture) installDeb(ctx context.Context, installOpts *InstallOpts, shou
550550 return out , fmt .Errorf ("systemctl start elastic-agent failed: %w" , err )
551551 }
552552
553- socketPath := "unix:///var/lib/elastic-agent/elastic-agent.sock" // Why does controlSocketRunSylink not work here?
553+ socketPath := "unix:///var/lib/elastic-agent/elastic-agent.sock"
554554 c := client .New (client .WithAddress (socketPath ))
555555 f .setClient (c )
556556
@@ -641,7 +641,7 @@ func (f *Fixture) installRpm(ctx context.Context, installOpts *InstallOpts, shou
641641 return out , fmt .Errorf ("systemctl start elastic-agent failed: %w" , err )
642642 }
643643
644- socketPath := "unix:///var/lib/elastic-agent/elastic-agent.sock" // Why does controlSocketRunSylink not work here?
644+ socketPath := "unix:///var/lib/elastic-agent/elastic-agent.sock"
645645 c := client .New (client .WithAddress (socketPath ))
646646 f .setClient (c )
647647
0 commit comments