kms: improve modularity

This commit is contained in:
Nicola Murino
2021-07-13 21:17:21 +02:00
parent e1a2451c22
commit 776dffcf12
22 changed files with 394 additions and 357 deletions

View File

@@ -302,7 +302,7 @@ func (c *Conf) getRedacted() Conf {
// Initialize configures and starts the HTTP server
func (c *Conf) Initialize(configDir string) error {
logger.Debug(logSender, "", "initializing HTTP server with config %v", c.getRedacted())
logger.Debug(logSender, "", "initializing HTTP server with config %+v", c.getRedacted())
backupsPath = getConfigPath(c.BackupsPath, configDir)
staticFilesPath := getConfigPath(c.StaticFilesPath, configDir)
templatesPath := getConfigPath(c.TemplatesPath, configDir)