Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-03 18:40:13 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-03 18:40:13 +0300
commitc0299ce49406302a26e7fd16ec272bca19715afb (patch)
tree483c6a7e22ee486b5ceb9d14a5b04d546875d50c /app/controllers/projects
parente6616e0468deaf1e37ddddc9332cc3e677567410 (diff)
Add Projects::Clusters::ApplicationsController tests
Diffstat (limited to 'app/controllers/projects')
-rw-r--r--app/controllers/projects/clusters/applications_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/clusters/applications_controller.rb b/app/controllers/projects/clusters/applications_controller.rb
index fae1ceb04b0..4b9d54a8537 100644
--- a/app/controllers/projects/clusters/applications_controller.rb
+++ b/app/controllers/projects/clusters/applications_controller.rb
@@ -9,7 +9,7 @@ class Projects::Clusters::ApplicationsController < Projects::ApplicationControll
application_class: @application_class,
cluster: @cluster).execute
if scheduled
- head :no_data
+ head :no_content
else
head :bad_request
end