Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
Signed-off-by: okJiang <[email protected]>
  • Loading branch information
okJiang committed Jul 29, 2024
1 parent 876cbac commit a16831e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/pd-ctl/pdctl/command/global.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,7 @@ var dialClient = &http.Client{
Transport: apiutil.NewCallerIDRoundTripper(http.DefaultTransport, pdControlCallerID),
}

<<<<<<< HEAD
// RequireHTTPSClient creates a HTTPS client if the related flags are set
func RequireHTTPSClient(cmd *cobra.Command, args []string) error {
=======
func parseTLSConfig(cmd *cobra.Command) (*tls.Config, error) {
>>>>>>> d44d7212b (ctl: fix https client panic (#8239))
caPath, err := cmd.Flags().GetString("cacert")
if err != nil || len(caPath) == 0 {
return nil, err
Expand Down

0 comments on commit a16831e

Please sign in to comment.