summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-09-07 07:02:46 -0700
committerStan Hu <stanhu@gmail.com>2017-09-07 07:02:46 -0700
commitc304dfd4d6ca0f52537044742bb6dd6c219bdbbf (patch)
treeaf247cef09596ba936b3a56a6f78c5be167b0ae8 /lib/api
parentf7c8032e0993a6dc6bb808b0f2234324d3fe9707 (diff)
downloadgitlab-ce-c304dfd4d6ca0f52537044742bb6dd6c219bdbbf.tar.gz
Fix Rubocop failures in API logger
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/api.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb
index 63df22c508b..0ab0c8c490a 100644
--- a/lib/api/api.rb
+++ b/lib/api/api.rb
@@ -7,9 +7,11 @@ module API
use GrapeLogging::Middleware::RequestLogger,
logger: ::Gitlab::ApiLogger.new(LOG_FILENAME),
formatter: GrapeLogging::Formatters::Json.new,
- include: [ GrapeLogging::Loggers::Response.new,
- GrapeLogging::Loggers::FilterParameters.new,
- GrapeLogging::Loggers::ClientEnv.new ]
+ include: [
+ GrapeLogging::Loggers::Response.new,
+ GrapeLogging::Loggers::FilterParameters.new,
+ GrapeLogging::Loggers::ClientEnv.new
+ ]
allow_access_with_scope :api
prefix :api