mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +01:00
orchestrator/clickhouse: also guess the port when guessing HTTP URL
This commit is contained in:
@@ -17,7 +17,7 @@ import (
|
||||
func NewMock(t *testing.T, r *reporter.Reporter) *Component {
|
||||
t.Helper()
|
||||
config := DefaultConfiguration()
|
||||
config.Listen = "127.0.0.1:0"
|
||||
config.Listen = "0.0.0.0:0"
|
||||
c, err := New(r, config, Dependencies{Daemon: daemon.NewMock(t)})
|
||||
if err != nil {
|
||||
t.Fatalf("New() error:\n%+v", err)
|
||||
|
||||
Reference in New Issue
Block a user