From 3f0d2cc28ffb500dfd1214cdbab97cc34c5995d3 Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Tue, 27 Apr 2021 22:54:49 +0200 Subject: [PATCH] add STORAGE_USERS_DRIVER as a fallback env var --- ocs/pkg/flagset/flagset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocs/pkg/flagset/flagset.go b/ocs/pkg/flagset/flagset.go index b2b1d5f8f..a5e69d7fc 100644 --- a/ocs/pkg/flagset/flagset.go +++ b/ocs/pkg/flagset/flagset.go @@ -176,7 +176,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag { Name: "users-driver", Value: flags.OverrideDefaultString(cfg.StorageUsersDriver, "ocis"), Usage: "storage driver for users mount: eg. local, eos, owncloud, ocis or s3", - EnvVars: []string{"STORAGE_USERS_DRIVER"}, + EnvVars: []string{"OCS_STORAGE_USERS_DRIVER", "STORAGE_USERS_DRIVER"}, Destination: &cfg.StorageUsersDriver, }, }