Skip to content

Commit

Permalink
Fix agent action input types wiring for 'service' type of apps (elast…
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksmaus authored Apr 26, 2021
1 parent a5e6e5b commit b467197
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions x-pack/elastic-agent/pkg/core/plugin/service/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ func (a *Application) Start(ctx context.Context, _ app.Taggable, cfg map[string]
if err != nil {
return err
}

// Set input types from the spec
a.srvState.SetInputTypes(a.desc.Spec().ActionInputTypes)
}

defer func() {
Expand Down

0 comments on commit b467197

Please sign in to comment.