diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-02-22 18:17:29 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2018-02-22 18:17:29 +0200 |
commit | 8f9046aad854e4c861c3a016cc3dd69e137a5c27 (patch) | |
tree | 1837825ba2cb3cf6e2c805a3354825e4737b9616 /lib/httpunix.rb | |
parent | 9850a74ba6093ecc771f53cb9abd7c9c8a59f266 (diff) | |
download | gitlab-shell-8f9046aad854e4c861c3a016cc3dd69e137a5c27.tar.gz |
Update rubocop and code to pass it
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'lib/httpunix.rb')
-rw-r--r-- | lib/httpunix.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/httpunix.rb b/lib/httpunix.rb index 12787ee..db160eb 100644 --- a/lib/httpunix.rb +++ b/lib/httpunix.rb @@ -32,7 +32,7 @@ module Net class HTTPUNIX < HTTP def initialize(socketpath, port=nil) super(socketpath, port) - @port = nil # HTTP will set it to default - override back -> set DEFAULT_PORT + @port = nil # HTTP will set it to default - override back -> set DEFAULT_PORT end # override to prevent ":<port>" being appended to HTTP_HOST |