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:
authorStan Hu <stanhu@gmail.com>2018-07-18 08:29:18 +0300
committerStan Hu <stanhu@gmail.com>2018-07-18 08:29:18 +0300
commit19cd1ba7bc2b5e501770abf9a61e3ffc54f682e7 (patch)
tree0d5813a266ca1be8367e3e8eb570c73e4eb577c1 /lib/bitbucket_server
parent8ac00193a1f285d1ff7d7221a76743f44cba176c (diff)
Fix identation in lib/bitbucket_server/connection.rb
Diffstat (limited to 'lib/bitbucket_server')
-rw-r--r--lib/bitbucket_server/connection.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/bitbucket_server/connection.rb b/lib/bitbucket_server/connection.rb
index 0b65203a824..13bbc240c99 100644
--- a/lib/bitbucket_server/connection.rb
+++ b/lib/bitbucket_server/connection.rb
@@ -27,9 +27,9 @@ module BitbucketServer
def post(path, body)
response = Gitlab::HTTP.post(build_url(path),
- basic_auth: auth,
- headers: post_headers,
- body: body)
+ basic_auth: auth,
+ headers: post_headers,
+ body: body)
check_errors!(response)
@@ -44,9 +44,9 @@ module BitbucketServer
url = delete_url(resource, path)
response = Gitlab::HTTP.delete(url,
- basic_auth: auth,
- headers: post_headers,
- body: body)
+ basic_auth: auth,
+ headers: post_headers,
+ body: body)
check_errors!(response)