Can now change all configuration options per instance
This commit is contained in:
@@ -20,7 +20,7 @@ type AppConfig struct {
|
||||
ListenAddress string `json:"listen_address"`
|
||||
} `json:"daemon"`
|
||||
|
||||
Instances map[string]VsServerConfigOptions `json:"instances"`
|
||||
Instances map[string]InstanceMetadata `json:"instances"`
|
||||
}
|
||||
|
||||
func CreateConfigWithDefaults(configPath string) *AppConfig {
|
||||
@@ -36,7 +36,7 @@ func CreateConfigWithDefaults(configPath string) *AppConfig {
|
||||
|
||||
cfg.Daemon.ListenAddress = "127.0.0.1:12345"
|
||||
|
||||
cfg.Instances = make(map[string]VsServerConfigOptions)
|
||||
cfg.Instances = make(map[string]InstanceMetadata)
|
||||
|
||||
return cfg
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user