diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-15 21:08:49 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-15 21:08:49 +0000 |
commit | cf1d4237a4f226ba2deed26240544da0675a41e5 (patch) | |
tree | 926a71b9279659bc52db0187b463603934718bf2 /app/services | |
parent | 0ac82f99553ce12009970a14c0afc02d1f6515bb (diff) | |
download | gitlab-ce-cf1d4237a4f226ba2deed26240544da0675a41e5.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/projects/operations/update_service.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/services/projects/operations/update_service.rb b/app/services/projects/operations/update_service.rb index f0144ad1213..27bbf5c6e57 100644 --- a/app/services/projects/operations/update_service.rb +++ b/app/services/projects/operations/update_service.rb @@ -16,6 +16,7 @@ module Projects .merge(metrics_setting_params) .merge(grafana_integration_params) .merge(prometheus_integration_params) + .merge(incident_management_setting_params) end def metrics_setting_params @@ -87,6 +88,10 @@ module Projects { prometheus_service_attributes: service.attributes.except(*%w(id project_id created_at updated_at)) } end + + def incident_management_setting_params + params.slice(:incident_management_setting_attributes) + end end end end |