internal/config/template: Cleanup

This commit cleans up the internal/config/template to remove code no
longer used because of the new configuration.
This commit is contained in:
Tom Wiesing 2023-02-26 10:44:25 +01:00
parent aa3580c248
commit 2edd0f2fe2
No known key found for this signature in database
7 changed files with 66 additions and 69 deletions

View file

@ -42,7 +42,7 @@ type Config struct {
PublicSSHPort uint16 `yaml:"ssh_port" default:"2222" validate:"port"`
// session secret holds the secret for login
SessionSecret string `yaml:"session_secret" default:"" validate:"nonempty"`
SessionSecret string `yaml:"session_secret" validate:"nonempty"`
// interval to trigger distillery cron tasks in
CronInterval time.Duration `yaml:"cron_interval" default:"10m" validate:"duration"`