From 9010b24dd4e2f6237af494fd8a53d7fe32f27883 Mon Sep 17 00:00:00 2001 From: Anton Maminov Date: Wed, 4 Dec 2024 13:45:05 +0200 Subject: [PATCH] format code --- src/lib/gitlab/api.cr | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/gitlab/api.cr b/src/lib/gitlab/api.cr index f0e2f05..7a4608f 100644 --- a/src/lib/gitlab/api.cr +++ b/src/lib/gitlab/api.cr @@ -47,7 +47,12 @@ module Gitlab end def make_request(url : String, params = {} of String => String) - Retriable.retry(on: {Crest::InternalServerError, Crest::ServiceUnavailable, Crest::BadGateway, Socket::ConnectError}) do + Retriable.retry(on: { + Crest::InternalServerError, + Crest::ServiceUnavailable, + Crest::BadGateway, + Socket::ConnectError, + }) do client[url].get(params: params) end ensure