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

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