Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
Signed-off-by: Cabinfever_B <[email protected]>
  • Loading branch information
CabinfeverB committed Mar 12, 2024
1 parent 34eedb0 commit 5f21733
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/pd_service_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -1135,9 +1135,8 @@ func modifyURLScheme(uStr string, tlsCfg *tls.Config) string {
if err != nil {
if tlsCfg != nil {
return httpsSchemePrefix + uStr
} else {
return httpSchemePrefix + uStr
}
return httpSchemePrefix + uStr
}
if tlsCfg != nil {
u.Scheme = httpsScheme
Expand Down

0 comments on commit 5f21733

Please sign in to comment.