mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
orchestrator/broker: implement the broker component
Currently, it only exposes the configuration to other components. In the future, it should be able to interact with them somehow.
This commit is contained in:
@@ -36,7 +36,7 @@ func (c ConfigRelatedOptions) Parse(out io.Writer, component string, config inte
|
||||
return fmt.Errorf("cannot parse configuration URL: %w", err)
|
||||
}
|
||||
if u.Path == "" {
|
||||
u.Path = fmt.Sprintf("/api/v0/orchestrator/configuration/%s", component)
|
||||
u.Path = fmt.Sprintf("/api/v0/orchestrator/broker/configuration/%s", component)
|
||||
}
|
||||
resp, err := http.Get(u.String())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user