set all previously set on c.StringSlice values on the bootstrap config

This commit is contained in:
A.Unger
2021-11-16 12:22:17 +01:00
parent 097c853894
commit 0d7be0d6ad
26 changed files with 30 additions and 48 deletions
-3
View File
@@ -27,10 +27,7 @@ func Frontend(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "frontend",
Usage: "Start frontend service",
//Flags: flagset.FrontendWithConfig(cfg),
Before: func(c *cli.Context) error {
cfg.Reva.Frontend.Services = c.StringSlice("service")
cfg.Reva.ChecksumSupportedTypes = c.StringSlice("checksum-supported-type")
if err := loadUserAgent(c, cfg); err != nil {
return err
}