Skip to content

Commit

Permalink
Add missing err check.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakerouse committed Mar 1, 2021
1 parent 74b6e5e commit d199780
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 d199780

Please sign in to comment.