Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dheyman committed Sep 15, 2023
1 parent e392583 commit 4dd49e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arrow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
8 changes: 4 additions & 4 deletions ocsp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4dd49e7

Please sign in to comment.