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.