mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-24 15:19:25 -04:00
first examples of config parsing
This commit is contained in:
6 files changed
+89
-70
No files matched your search
@@ -55,9 +55,12 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if !cfg.Supervised {
|
||||
return ParseConfig(ctx, cfg)
|
||||
if err := ParseConfig(ctx, cfg); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
//if !cfg.Supervised {
|
||||
// return ParseConfig(ctx, cfg)
|
||||
//}
|
||||
logger.Debug().Str("service", "ocs").Msg("ignoring config file parsing when running supervised")
|
||||
return nil
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user