Manager: move actually-used config options up in the struct
There are a bunch of should-be-implemented options commented out, and the actually-used options shouldn't be in between those. No functional changes.
This commit is contained in:
parent
ed8c02ad69
commit
0284dc4e4d
@ -73,6 +73,11 @@ type Base struct {
|
|||||||
Listen string `yaml:"listen"`
|
Listen string `yaml:"listen"`
|
||||||
// ListenHTTPS string `yaml:"listen_https"`
|
// ListenHTTPS string `yaml:"listen_https"`
|
||||||
|
|
||||||
|
SSDPDiscovery bool `yaml:"autodiscoverable"`
|
||||||
|
|
||||||
|
// Storage configuration:
|
||||||
|
Shaman shaman_config.Config `yaml:"shaman"`
|
||||||
|
|
||||||
// TLS certificate management. TLSxxx has priority over ACME.
|
// TLS certificate management. TLSxxx has priority over ACME.
|
||||||
// TLSKey string `yaml:"tlskey"`
|
// TLSKey string `yaml:"tlskey"`
|
||||||
// TLSCert string `yaml:"tlscert"`
|
// TLSCert string `yaml:"tlscert"`
|
||||||
@ -92,13 +97,8 @@ type Base struct {
|
|||||||
// (even when there are workers left that could technically retry the task).
|
// (even when there are workers left that could technically retry the task).
|
||||||
// TaskFailAfterSoftFailCount int `yaml:"task_fail_after_softfail_count"`
|
// TaskFailAfterSoftFailCount int `yaml:"task_fail_after_softfail_count"`
|
||||||
|
|
||||||
SSDPDiscovery bool `yaml:"autodiscoverable"`
|
|
||||||
|
|
||||||
// TestTasks TestTasks `yaml:"test_tasks"`
|
// TestTasks TestTasks `yaml:"test_tasks"`
|
||||||
|
|
||||||
// Shaman configuration settings.
|
|
||||||
Shaman shaman_config.Config `yaml:"shaman"`
|
|
||||||
|
|
||||||
// Authentication settings.
|
// Authentication settings.
|
||||||
// JWT jwtauth.Config `yaml:"user_authentication"`
|
// JWT jwtauth.Config `yaml:"user_authentication"`
|
||||||
// WorkerRegistrationSecret string `yaml:"worker_registration_secret"`
|
// WorkerRegistrationSecret string `yaml:"worker_registration_secret"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user