fix case for envar

This commit is contained in:
Hugo Gonzalez Labrador committed 2021-03-31 16:55:55 +02:00
1 parent 399c33fe2f
commit 5982e9fe56
1 file changed
+1 -1
+1 -1
View File
@@ -116,7 +116,7 @@ func FrontendWithConfig(cfg *config.Config) []cli.Flag {
Name: "ocs-share-prefix", Name: "ocs-share-prefix",
Value: flags.OverrideDefaultString(cfg.Reva.Frontend.OCSSharePrefix, "/Shares"), Value: flags.OverrideDefaultString(cfg.Reva.Frontend.OCSSharePrefix, "/Shares"),
Usage: "the prefix prepended to the path of shared files", Usage: "the prefix prepended to the path of shared files",
EnvVars: []string{"STORAGE_FRONTEND_OCS_Share_PREFIX"}, EnvVars: []string{"STORAGE_FRONTEND_OCS_SHARE_PREFIX"},
Destination: &cfg.Reva.Frontend.OCSSharePrefix, Destination: &cfg.Reva.Frontend.OCSSharePrefix,
}, },
// Gateway // Gateway