Skip to content

Commit

Permalink
Add missing err check. (#24281)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse authored Mar 1, 2021
1 parent 133249d commit a529338
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 a529338

Please sign in to comment.