Skip to content

Commit

Permalink
Merge pull request #60 from ClickHouse/remove-azure-private-endpoint-…
Browse files Browse the repository at this point in the history
…restriction

remove azure private link restriction
  • Loading branch information
serdec authored May 20, 2024
2 parents 15c021f + 824a114 commit 35f0b5f
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 35f0b5f

Please sign in to comment.