Skip to content

Commit

Permalink
[7.8] [Uptime] Fix ping io ts type (#66926) (#67994)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
shahzad31 and elasticmachine authored Jun 2, 2020
1 parent bc04493 commit af22d1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/plugins/uptime/common/runtime_types/ping/ping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ export const MonitorType = t.intersection([
check_group: t.string,
ip: t.string,
name: t.string,
timespan: t.partial({
timespan: t.type({
gte: t.string,
lte: t.string,
lt: t.string,
}),
}),
]);
Expand All @@ -55,13 +55,13 @@ export const PingType = t.intersection([
agent: t.intersection([
t.type({
ephemeral_id: t.string,
hostname: t.string,
id: t.string,
type: t.string,
version: t.string,
}),
t.partial({
name: t.string,
hostname: t.string,
}),
]),
container: t.partial({
Expand Down

0 comments on commit af22d1e

Please sign in to comment.