mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-05 05:24:16 -04:00
deps: convert zap to slog (#2825)
This commit is contained in:
parent
3765cb0762
commit
54cce77bab
182 changed files with 1474 additions and 1509 deletions
|
@ -50,7 +50,6 @@ func runUp(cmd *cobra.Command, _ []string) error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("creating logger: %w", err)
|
||||
}
|
||||
defer log.Sync()
|
||||
|
||||
m := &miniUpCmd{
|
||||
log: log,
|
||||
|
@ -152,7 +151,7 @@ func (m *miniUpCmd) prepareConfig(cmd *cobra.Command) (*config.Config, error) {
|
|||
if err != nil {
|
||||
return nil, fmt.Errorf("mini default config is invalid: %v", err)
|
||||
}
|
||||
m.log.Debugf("Prepared configuration")
|
||||
m.log.Debug("Prepared configuration")
|
||||
|
||||
return config, m.fileHandler.WriteYAML(constants.ConfigFilename, config, file.OptOverwrite)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue