Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Jul 23, 2020
1 parent 6ac65e3 commit 321ed94
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions x-pack/plugins/ingest_manager/server/types/models/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ const AgentEventBase = {
]),
subtype: schema.oneOf([
// State
schema.literal('RUNNING'),
schema.literal('STARTING'),
schema.literal('IN_PROGRESS'),
schema.literal('CONFIG'),
schema.literal('FAILED'),
schema.literal('STOPPING'),
schema.literal('STOPPED'),
schema.literal('DEGRADED'),
schema.oneOf([
schema.literal('RUNNING'),
schema.literal('STARTING'),
schema.literal('IN_PROGRESS'),
schema.literal('CONFIG'),
schema.literal('FAILED'),
schema.literal('STOPPING'),
schema.literal('STOPPED'),
schema.literal('DEGRADED'),
]),
// Action results
schema.literal('DATA_DUMP'),
// Actions
Expand Down

0 comments on commit 321ed94

Please sign in to comment.