Skip to content

Commit

Permalink
Merge pull request #17 from OpsMx/OP-12645-task-payload
Browse files Browse the repository at this point in the history
OP-12645 payload validation removal in policy
  • Loading branch information
Luthan95 authored Mar 14, 2022
2 parents 6c2a421 + e3c067c commit eb03651
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions gate-policy/custom-stage-deck/src/PolicyGateConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,6 @@ export function validate(stageConfig: IStage) {
.field('parameters.imageids')
.required()
.withValidators((value, label) => (value = '' ? `Image IDs is required` : undefined));
validator
.field('parameters.payload')
.required()
.withValidators((value, label) => (value = '' ? `Payload is required` : undefined));

return validator.validateForm();
}

0 comments on commit eb03651

Please sign in to comment.