"fix" indentation to make egypt happy
parent
89faba288d
commit
ea13ac48ec
|
@ -67,7 +67,7 @@ class Client
|
|||
)
|
||||
|
||||
res = @cli.send_recv(req)
|
||||
@cli.close
|
||||
@cli.close
|
||||
|
||||
if res and [200, 401, 403, 500].include?(res.code)
|
||||
resp = MessagePack.unpack(res.body)
|
||||
|
@ -83,10 +83,10 @@ class Client
|
|||
end
|
||||
|
||||
def close
|
||||
if @cli and @cli.conn?
|
||||
@cli.close
|
||||
end
|
||||
@cli = nil
|
||||
if @cli and @cli.conn?
|
||||
@cli.close
|
||||
end
|
||||
@cli = nil
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue