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
@@ -24,10 +24,7 @@ func Groups(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "groups",
Usage: "Start groups service",
//Flags: flagset.GroupsWithConfig(cfg),
Before: func(c *cli.Context) error {
cfg.Reva.Groups.Services = c.StringSlice("service")
return ParseConfig(c, cfg, "storage-groups")
},
Action: func(c *cli.Context) error {