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:
Sybren A. Stüvel 2022-04-01 13:02:22 +02:00
parent ed8c02ad69
commit 0284dc4e4d

View File

@ -73,6 +73,11 @@ type Base struct {
Listen string `yaml:"listen"`
// 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.
// TLSKey string `yaml:"tlskey"`
// TLSCert string `yaml:"tlscert"`
@ -92,13 +97,8 @@ type Base struct {
// (even when there are workers left that could technically retry the task).
// TaskFailAfterSoftFailCount int `yaml:"task_fail_after_softfail_count"`
SSDPDiscovery bool `yaml:"autodiscoverable"`
// TestTasks TestTasks `yaml:"test_tasks"`
// Shaman configuration settings.
Shaman shaman_config.Config `yaml:"shaman"`
// Authentication settings.
// JWT jwtauth.Config `yaml:"user_authentication"`
// WorkerRegistrationSecret string `yaml:"worker_registration_secret"`