Skip to content

Commit

Permalink
remove azure private link restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
serdec committed May 20, 2024
1 parent 15c021f commit 824a114
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions clickhouse/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,19 +240,6 @@ func (c *Client) GetService(serviceId string) (*Service, error) {

service := serviceResponse.Result

// The /privateEndpointConfig endpoint is not implemented yet for
// azure instances
if serviceResponse.Result.Provider == "azure" {

privateEndpoint := ServicePrivateEndpointConfig{
EndpointServiceId: "",
PrivateDnsHostname: "",
}

service.PrivateEndpointConfig = &privateEndpoint
return &service, nil
}

req, err = http.NewRequest("GET", c.getServicePath(serviceId, "/privateEndpointConfig"), nil)
if err != nil {
return nil, err
Expand Down

0 comments on commit 824a114

Please sign in to comment.