From 824a114a1ded460bdefeda329f3c4e2f6d04cfda Mon Sep 17 00:00:00 2001 From: Sergio de Cristofaro Date: Mon, 20 May 2024 12:53:44 +0200 Subject: [PATCH] remove azure private link restriction --- clickhouse/client.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/clickhouse/client.go b/clickhouse/client.go index 6ae909a6..605d864a 100644 --- a/clickhouse/client.go +++ b/clickhouse/client.go @@ -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