clean up the new commands

This commit is contained in:
David Christofas
2022-04-22 16:31:40 +02:00
parent 60bf000308
commit 01e307fb72
13 changed files with 8 additions and 275 deletions
@@ -31,10 +31,6 @@ func Gateway(cfg *config.Config) *cli.Command {
Name: "gateway",
Usage: "start gateway",
Before: func(c *cli.Context) error {
// if err := ParseConfig(c, cfg, "storage-gateway"); err != nil {
// return err
// }
if cfg.DataGatewayPublicURL == "" {
cfg.DataGatewayPublicURL = strings.TrimRight(cfg.FrontendPublicURL, "/") + "/data"
}