Skip to content

Commit

Permalink
[Uptime] Fix ping io ts type (#66926)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
shahzad31 and elasticmachine authored Jun 2, 2020
1 parent 77e7e0b commit 13c24b0
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 13c24b0

Please sign in to comment.