Skip to content

Commit c6671c6

Browse files
committed
update default index priority for cold phase
1 parent f57f0e2 commit c6671c6

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

x-pack/plugins/index_lifecycle_management/__jest__/client_integration/edit_policy/edit_policy.test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,11 +283,7 @@ describe('<EditPolicy />', () => {
283283
const entirePolicy = JSON.parse(JSON.parse(latestRequest.requestBody).body);
284284
expect(entirePolicy.phases.cold).toMatchInlineSnapshot(`
285285
Object {
286-
"actions": Object {
287-
"set_priority": Object {
288-
"priority": 50,
289-
},
290-
},
286+
"actions": Object {},
291287
"min_age": "0d",
292288
}
293289
`);

x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form_schema.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ export const schema: FormSchema<FormInternal> = {
284284
},
285285
set_priority: {
286286
priority: {
287-
defaultValue: defaultPhaseIndexPriority as any,
288287
label: i18nTexts.editPolicy.setPriorityFieldLabel,
289288
validations: [{ validator: ifExistsNumberNonNegative }],
290289
serializer: serializers.stringToNumber,

0 commit comments

Comments
 (0)