Skip to content

Commit

Permalink
Revert workaround for missing fleet.hosts (#9762)
Browse files Browse the repository at this point in the history
This is no longer needed, with
elastic/elastic-agent#1802

(cherry picked from commit 71e66a1)
  • Loading branch information
axw authored and mergify[bot] committed Dec 7, 2022
1 parent f6c10ae commit 34cf1ef
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 34cf1ef

Please sign in to comment.