summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-03 16:40:13 +0100
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-03 16:40:13 +0100
commitc0299ce49406302a26e7fd16ec272bca19715afb (patch)
tree483c6a7e22ee486b5ceb9d14a5b04d546875d50c /app
parente6616e0468deaf1e37ddddc9332cc3e677567410 (diff)
downloadgitlab-ce-c0299ce49406302a26e7fd16ec272bca19715afb.tar.gz
Add Projects::Clusters::ApplicationsController tests
Diffstat (limited to 'app')
-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