Skip to content

Commit

Permalink
update default index priority for cold phase
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Oct 28, 2020
1 parent f57f0e2 commit c6671c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,7 @@ describe('<EditPolicy />', () => {
const entirePolicy = JSON.parse(JSON.parse(latestRequest.requestBody).body);
expect(entirePolicy.phases.cold).toMatchInlineSnapshot(`
Object {
"actions": Object {
"set_priority": Object {
"priority": 50,
},
},
"actions": Object {},
"min_age": "0d",
}
`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ export const schema: FormSchema<FormInternal> = {
},
set_priority: {
priority: {
defaultValue: defaultPhaseIndexPriority as any,
label: i18nTexts.editPolicy.setPriorityFieldLabel,
validations: [{ validator: ifExistsNumberNonNegative }],
serializer: serializers.stringToNumber,
Expand Down

0 comments on commit c6671c6

Please sign in to comment.