diff --git a/clickhouse.go b/clickhouse.go index 9cc4a33..12e0772 100644 --- a/clickhouse.go +++ b/clickhouse.go @@ -218,6 +218,6 @@ func (c *Clickhouse) SendQuery(r *ClickhouseRequest) (response string, status in } return response, status, err } - return response, status, ErrNoServers + return "", http.StatusServiceUnavailable, ErrNoServers } }