summaryrefslogtreecommitdiff
path: root/lib/api/lint.rb
diff options
context:
space:
mode:
authorKatarzyna Kobierska <kkobierska@gmail.com>2016-09-07 12:54:02 +0200
committerKatarzyna Kobierska <kkobierska@gmail.com>2016-09-07 12:54:02 +0200
commitea48310579385c86cd6da9663e8150701707452d (patch)
tree4c4a676e9f51d65e405c7feaf06550203222ca27 /lib/api/lint.rb
parentdac4c5bb5389b123a046d0e861443e124dc0e059 (diff)
downloadgitlab-ce-ea48310579385c86cd6da9663e8150701707452d.tar.gz
Improve curl commend, remove blank lines
Diffstat (limited to 'lib/api/lint.rb')
-rw-r--r--lib/api/lint.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/lint.rb b/lib/api/lint.rb
index 8a7ced2d34d..ae43a4a3237 100644
--- a/lib/api/lint.rb
+++ b/lib/api/lint.rb
@@ -1,12 +1,10 @@
module API
class Lint < Grape::API
-
namespace :ci do
desc 'Validation of .gitlab-ci.yml content'
params do
requires :content, type: String, desc: 'Content of .gitlab-ci.yml'
end
-
post '/lint' do
error = Ci::GitlabCiYamlProcessor.validation_message(params[:content])