Skip to content

Update PartialScanType to match JSON schema with mode property

What does this MR do?

In Add support for partial scans (!113 - merged), the partial scan field does not match the schema which requires a mode property instead of a string. This MR fixes it.

Before After
{
  "partial_scan": "differential"
}
{
  "partial_scan": {
    "mode" :"differential"
  }
}

What are the relevant issue numbers?

gitlab-org/gitlab#540584 (closed)

Does this MR meet the acceptance criteria?

Edited by Shao Ming Tan

Merge request reports

Loading