Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed May 11, 2022
1 parent ab0ea8d commit ab0adda
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/common/openapi/bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -3796,7 +3796,7 @@
"type": "string"
},
"rollout_duration_seconds": {
"type": "number;"
"type": "number"
},
"agents": {
"oneOf": [
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/common/openapi/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2392,7 +2392,7 @@ components:
source_uri:
type: string
rollout_duration_seconds:
type: number;
type: number
agents:
oneOf:
- type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ properties:
source_uri:
type: string
rollout_duration_seconds:
type: number;
type: number
agents:
oneOf:
- type: array
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/fleet/server/services/agents/upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
} from './crud';
import { searchHitToAgent } from './helpers';

const MINIMUM_EXECUTION_DURATION_SECONDS = 600; // 10m
const MINIMUM_EXECUTION_DURATION_SECONDS = 1800; // 30m

function isMgetDoc(doc?: estypes.MgetResponseItem<unknown>): doc is estypes.GetGetResult {
return Boolean(doc && 'found' in doc);
Expand Down

0 comments on commit ab0adda

Please sign in to comment.