Skip to content

Commit

Permalink
address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Jun 29, 2020
1 parent f22bfe5 commit e89599b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,7 @@ const phaseFromES = (phase, phaseName, defaultEmptyPolicy) => {
if (actions.set_priority) {
const { priority } = actions.set_priority;

if (priority) {
policy[PHASE_INDEX_PRIORITY] = priority;
} else {
policy[PHASE_INDEX_PRIORITY] = '';
}
policy[PHASE_INDEX_PRIORITY] = priority ?? '';
}

if (actions.wait_for_snapshot) {
Expand Down

0 comments on commit e89599b

Please sign in to comment.