added static connectors to combined config yaml

This commit is contained in:
jnfrati
2026-04-01 16:06:27 +02:00
parent d670e7382a
commit e6898a2e0e
2 changed files with 7 additions and 4 deletions
+4 -4
View File
@@ -163,10 +163,10 @@ func (p *Password) UnmarshalYAML(node *yaml.Node) error {
// Connector is a connector configuration that can unmarshal YAML dynamically.
type Connector struct {
Type string `yaml:"type" json:"type"`
Name string `yaml:"name" json:"name"`
ID string `yaml:"id" json:"id"`
Config map[string]interface{} `yaml:"config" json:"config"`
Type string `yaml:"type" json:"type"`
Name string `yaml:"name" json:"name"`
ID string `yaml:"id" json:"id"`
Config map[string]any `yaml:"config" json:"config"`
}
// ToStorageConnector converts a Connector to storage.Connector type.