Skip to content

Commit

Permalink
fixup formatting more
Browse files Browse the repository at this point in the history
  • Loading branch information
ploxiln authored May 12, 2021
1 parent 37c2817 commit 19a913c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/auth/authorizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func QueryAuthd(authd string, remoteIP string, tlsEnabled bool, commonName strin
v.Set("common_name", commonName)

var endpoint string
if strings.Contains(authd, "://"){
if strings.Contains(authd, "://") {
endpoint = fmt.Sprintf("%s?%s", authd, v.Encode())
} else {
endpoint = fmt.Sprintf("http://%s/auth?%s", authd, v.Encode())
Expand Down

0 comments on commit 19a913c

Please sign in to comment.