Skip to content

Commit

Permalink
Add missing err check. (#24281) (#24282)
Browse files Browse the repository at this point in the history
(cherry picked from commit a529338)
  • Loading branch information
blakerouse authored Mar 2, 2021
1 parent 92b5a7a commit 95fe2eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-pack/elastic-agent/pkg/agent/application/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ func createApplication(
// not in standalone; both modes require reading the fleet.yml configuration file
var store storage.Store
store, cfg, err = mergeFleetConfig(rawConfig)
if err != nil {
return nil, err
}

if IsFleetServerBootstrap(cfg.Fleet) {
log.Info("Agent is in Fleet Server bootstrap mode")
Expand Down

0 comments on commit 95fe2eb

Please sign in to comment.