From cfc9738e5143c887c7121179827fb29a2ea10ebd Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Thu, 11 Nov 2021 13:06:03 +0100 Subject: [PATCH] format --- ocs/pkg/config/config.go | 6 +++--- thumbnails/pkg/config/config.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ocs/pkg/config/config.go b/ocs/pkg/config/config.go index 7be7e86228..7d6da5df9b 100644 --- a/ocs/pkg/config/config.go +++ b/ocs/pkg/config/config.go @@ -47,7 +47,7 @@ type Tracing struct { // Reva defines all available REVA configuration. type Reva struct { - Address string `address` + Address string `mapstructure:"address"` } // TokenManager is the config for using the reva token manager @@ -72,7 +72,7 @@ type Config struct { TokenManager TokenManager `mapstructure:"token_manager"` Service Service `mapstructure:"service"` AccountBackend string `mapstructure:"account_backend"` - Reva Reva `mapstructure:"reva"` + Reva Reva `mapstructure:"reva"` StorageUsersDriver string `mapstructure:"storage_users_driver"` MachineAuthAPIKey string `mapstructure:"machine_auth_api_key"` IdentityManagement IdentityManagement `mapstructure:"identity_management"` @@ -121,7 +121,7 @@ func DefaultConfig() *Config { Namespace: "com.owncloud.web", }, AccountBackend: "accounts", - Reva: Reva{Address: "127.0.0.1:9142"}, + Reva: Reva{Address: "127.0.0.1:9142"}, StorageUsersDriver: "ocis", MachineAuthAPIKey: "change-me-please", IdentityManagement: IdentityManagement{ diff --git a/thumbnails/pkg/config/config.go b/thumbnails/pkg/config/config.go index 07af523676..e91137d13e 100644 --- a/thumbnails/pkg/config/config.go +++ b/thumbnails/pkg/config/config.go @@ -61,7 +61,7 @@ type Thumbnail struct { Resolutions []string `mapstructure:"resolutions"` FileSystemStorage FileSystemStorage `mapstructure:"filesystem_storage"` WebdavAllowInsecure bool `mapstructure:"webdav_allow_insecure"` - CS3AllowInsecure bool `mapstructure:"cs3_allow_insecure"` + CS3AllowInsecure bool `mapstructure:"cs3_allow_insecure"` RevaGateway string `mapstructure:"reva_gateway"` WebdavNamespace string `mapstructure:"webdav_namespace"` } @@ -100,7 +100,7 @@ func DefaultConfig() *Config { WebdavAllowInsecure: true, RevaGateway: "127.0.0.1:9142", WebdavNamespace: "/home", - CS3AllowInsecure: false, + CS3AllowInsecure: false, }, } }