Skip to content

Commit

Permalink
Revert workaround for missing fleet.hosts
Browse files Browse the repository at this point in the history
This is no longer needed, with
elastic/elastic-agent#1802
  • Loading branch information
axw committed Dec 7, 2022
1 parent 631667a commit 5990dc1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/beater/beater.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,6 @@ func (s *Runner) Run(ctx context.Context) error {
}
}()
}

// BUG(axw) fleet.hosts isn't being sent to APM Server in ESS, so assume co-location.
if len(s.fleetConfig.Hosts) == 0 {
s.fleetConfig.Hosts = []string{"https://localhost:8220"}
}
}

if s.config.JavaAttacherConfig.Enabled {
Expand Down

0 comments on commit 5990dc1

Please sign in to comment.