summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKárpáti László <leslie.karpati@gmail.com>2018-02-21 15:57:26 +0000
committerRémy Coutable <remy@rymai.me>2018-02-21 15:57:26 +0000
commit8bdfd8aa8789bb44c852398dd13866fc1ab44d29 (patch)
tree267f91fa9a8ad3eda2521bdd689193a436a47294
parent7732542c9205cc3ba08474ac58b7c3a18bfebdc1 (diff)
downloadgitlab-ce-8bdfd8aa8789bb44c852398dd13866fc1ab44d29.tar.gz
Resolve "API: PUT /projects/:id fails when only ci_config_path is specified"
-rw-r--r--changelogs/unreleased/42509-fix-API-PUT-projects-fails-when-only-ci_config_path-is-specified.yml5
-rw-r--r--lib/api/projects.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/changelogs/unreleased/42509-fix-API-PUT-projects-fails-when-only-ci_config_path-is-specified.yml b/changelogs/unreleased/42509-fix-API-PUT-projects-fails-when-only-ci_config_path-is-specified.yml
new file mode 100644
index 00000000000..a3dc1917001
--- /dev/null
+++ b/changelogs/unreleased/42509-fix-API-PUT-projects-fails-when-only-ci_config_path-is-specified.yml
@@ -0,0 +1,5 @@
+---
+title: Allow to call PUT /projects/:id API with only ci_config_path specified
+merge_request: 17105
+author: Laszlo Karpati
+type: fixed
diff --git a/lib/api/projects.rb b/lib/api/projects.rb
index e90892a90f7..b552b0e0c5d 100644
--- a/lib/api/projects.rb
+++ b/lib/api/projects.rb
@@ -271,6 +271,7 @@ module API
[
:jobs_enabled,
:resolve_outdated_diff_discussions,
+ :ci_config_path,
:container_registry_enabled,
:default_branch,
:description,