make gateway config similar to other services

This commit is contained in:
David Christofas
2022-04-25 15:44:15 +02:00
parent 76a6588d88
commit 60bf000308
22 changed files with 253 additions and 184 deletions
-4
View File
@@ -13,10 +13,6 @@ func StorageAuthBearerCommand(cfg *config.Config) *cli.Command {
Name: "storage-auth-bearer",
Usage: "Start storage auth-bearer service",
Category: "extensions",
//Flags: flagset.AuthBearerWithConfig(cfg.Storage),
// Before: func(ctx *cli.Context) error {
// return ParseStorageCommon(ctx, cfg)
// },
Action: func(c *cli.Context) error {
origCmd := command.AuthBearer(cfg.AuthBearer)
return handleOriginalAction(c, origCmd)