Fixed handlers configuration

This commit is contained in:
Emmanuel BENOîT 2021-12-04 10:44:57 +01:00
parent 3e088d4af7
commit 3266f3f818

View file

@ -64,9 +64,9 @@ type (
// Certificate file updates configuration.
tCertFileUpdateConfig struct {
PreCommands []string `yaml:"pre_commands"`
Handlers tHandlers `yaml:"handlers"`
PostCommands []string `yaml:"post_commands"`
PreCommands []string `yaml:"pre_commands"`
Handlers []string `yaml:"handlers"`
PostCommands []string `yaml:"post_commands"`
}
// Certificate file configuration.
@ -88,6 +88,7 @@ type (
tConfiguration struct {
Socket tSocketConfig `yaml:"socket"`
LdapConfig tLdapConfig `yaml:"ldap"`
Handlers tHandlers `yaml:"handlers"`
Certificates []tCertificateFileConfig `yaml:"certificates"`
}
)