Commit 8a374357 authored by Marin Jankovski's avatar Marin Jankovski

Fix rubocop error.

parent 1a89db5f
......@@ -73,7 +73,7 @@ class IssueTrackerService < Service
url = URI.parse(self.project_url)
if url.host && url.port
http = Net::HTTP.start(url.host, url.port, {open_timeout: 5, read_timeout: 5})
http = Net::HTTP.start(url.host, url.port, { open_timeout: 5, read_timeout: 5 })
response = http.head("/")
if response
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment