mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
cmd: make main subcomponent configuration inline
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
||||
type ConsoleConfiguration struct {
|
||||
Reporting reporter.Configuration
|
||||
HTTP http.Configuration
|
||||
Console console.Configuration
|
||||
Console console.Configuration `mapstructure:",squash" yaml:",inline"`
|
||||
ClickHouse clickhousedb.Configuration
|
||||
Auth authentication.Configuration
|
||||
Database database.Configuration
|
||||
|
||||
@@ -21,7 +21,7 @@ type OrchestratorConfiguration struct {
|
||||
ClickHouseDB clickhousedb.Configuration `yaml:"-"`
|
||||
ClickHouse clickhouse.Configuration
|
||||
Kafka kafka.Configuration
|
||||
Orchestrator orchestrator.Configuration
|
||||
Orchestrator orchestrator.Configuration `mapstructure:",squash" yaml:",inline"`
|
||||
// Other service configurations
|
||||
Inlet InletConfiguration
|
||||
Console ConsoleConfiguration
|
||||
|
||||
Reference in New Issue
Block a user