Skip to content

Format network policies update time

What does this MR do?

Properly formats updatedAt field in network policies GraphQL endpoint to prevent the following error:

{
  "errors": [
    {
      "message": "Internal server error: undefined method `iso8601' for \"2021-06-08T17:57:10Z\":String"
    }
  ]
}

Follows-up on !63696 (merged).

Screenshots (strongly suggested)

Before After
Screen_Shot_2021-06-16_at_10.06.23_AM Screen_Shot_2021-06-16_at_10.07.13_AM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Paul Gascou-Vaillancourt

Merge request reports