Fix rubocop error.
This commit is contained in:
parent
1a89db5ffb
commit
8a37435738
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue