expose owncloud storage driver config in flagset (#88)

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-02-12 11:48:54 +01:00
committed by GitHub
parent 2dddee76d3
commit 692acaee2c
12 changed files with 156 additions and 13 deletions
+3
View File
@@ -113,6 +113,9 @@ func StorageOC(cfg *config.Config) *cli.Command {
},
"owncloud": map[string]interface{}{
"datadirectory": cfg.Reva.Storages.OwnCloud.Datadirectory,
"scan": cfg.Reva.Storages.OwnCloud.Scan,
"autocreate": cfg.Reva.Storages.OwnCloud.Autocreate,
"redis": cfg.Reva.Storages.OwnCloud.Redis,
},
"s3": map[string]interface{}{
"region": cfg.Reva.Storages.S3.Region,