From 4dd49e7a9ddeb1abaf933461a6d374a65f2adae5 Mon Sep 17 00:00:00 2001 From: Dawid Heyman Date: Fri, 15 Sep 2023 11:47:15 +0200 Subject: [PATCH] Fix lint --- arrow_test.go | 2 +- ocsp.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arrow_test.go b/arrow_test.go index cca07603d..e4d103c78 100644 --- a/arrow_test.go +++ b/arrow_test.go @@ -13,7 +13,7 @@ import ( "time" ) -//A test just to show Snowflake version +// A test just to show Snowflake version func TestCheckVersion(t *testing.T) { conn := openConn(t) defer conn.Close() diff --git a/ocsp.go b/ocsp.go index a1eaed141..0cb3862c6 100644 --- a/ocsp.go +++ b/ocsp.go @@ -515,14 +515,14 @@ func printStatus(response *ocsp.Response) string { } func fullOCSPURL(url *url.URL) string { - fullUrl := url.Hostname() + fullURL := url.Hostname() if url.Path != "" { if !strings.HasPrefix(url.Path, "/") { - fullUrl += "/" + fullURL += "/" } - fullUrl += url.Path + fullURL += url.Path } - return fullUrl + return fullURL } // getRevocationStatus checks the certificate revocation status for subject using issuer certificate.