Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nexustar committed Oct 11, 2021
1 parent 9f34ae7 commit bf5827c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/cluster/api/pdapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,6 @@ func (pc *PDClient) GetConfig() (map[string]interface{}, error) {
// GetClusterID return cluster ID
func (pc *PDClient) GetClusterID() (string, error) {
endpoints := pc.getEndpoints(pdClusterIDURI)

// We don't use the `github.com/tikv/pd/server/config` directly because
// there is compatible issue: https://github.com/pingcap/tiup/issues/637
clusterID := map[string]interface{}{}

_, err := tryURLs(endpoints, func(endpoint string) ([]byte, error) {
Expand Down

0 comments on commit bf5827c

Please sign in to comment.