Skip to content

Commit 84903a0

Browse files
authored
chore: Drop CH support until fully implemented (#253)
* chore: Drop CH support until fully implemented * build: Exclude docs from hot reloading service
1 parent a2a4ecd commit 84903a0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.air.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ tmp_dir = "tmp"
55
cmd = "go build -o tmp/main cmd/outpost/main.go"
66
bin = "tmp/main"
77
delay = 100
8-
exclude_dir = ["examples", "dist", "website", "internal/portal/node_modules", "internal/portal/src"]
8+
exclude_dir = ["examples", "dist", "docs", "website", "internal/portal/node_modules", "internal/portal/src"]
99
include_ext = ["go"]
1010
include_file = ["go.mod", "go.sum", ".env"]

internal/config/validation.go

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package config
22

33
import (
4+
"fmt"
45
"net/url"
56
)
67

@@ -78,10 +79,14 @@ func (c *Config) validateRedis() error {
7879
}
7980

8081
// validateLogStorage validates the ClickHouse / PG configuration
82+
// Temporary: disable CH as it's not fully supported yet
8183
func (c *Config) validateLogStorage() error {
8284
if c.ClickHouse.Addr == "" && c.PostgresURL == "" {
8385
return ErrMissingLogStorage
8486
}
87+
if c.ClickHouse.Addr != "" {
88+
return fmt.Errorf("ClickHouse is not currently supported")
89+
}
8590
return nil
8691
}
8792

0 commit comments

Comments
 (0)