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