From 151d991b1da8e7ba2f2ca0be51f5393bb914955f Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Fri, 11 Dec 2020 16:24:39 +0100 Subject: [PATCH] remove duplicate STORAGE_FRONTEND_PUBLIC_URL --- storage/pkg/flagset/gateway.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/storage/pkg/flagset/gateway.go b/storage/pkg/flagset/gateway.go index 7180e7af62..ca3b16d5b7 100644 --- a/storage/pkg/flagset/gateway.go +++ b/storage/pkg/flagset/gateway.go @@ -139,13 +139,6 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag { Destination: &cfg.Reva.StorageRegistry.HomeProvider, }, - &cli.StringFlag{ - Name: "public-url", - Value: "https://localhost:9200", - Usage: "URL to use for the storage service", - EnvVars: []string{"STORAGE_FRONTEND_PUBLIC_URL"}, - Destination: &cfg.Reva.Frontend.PublicURL, - }, &cli.StringFlag{ Name: "datagateway-url", Value: "https://localhost:9200/data",