Skip to content

Fix import_source serialization in migration

Adam Hegyi requested to merge fix-import-source-migration-issue into master

What does this MR do and why?

This MR fixes the YAML serialization issue mentioned in the incident: gitlab-com/gl-infra/production#8167 (closed)

The defined ApplicationSetting class didn't specify serialize :impor_source so the passed array was stringified and saved to the DB.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Adam Hegyi

Merge request reports