mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-08-07 05:14:57 -04:00
remove all "omitempty" from config structs to bring back full configuration file documentation
This commit is contained in:
31 files changed
+802
-802
No files matched your search
@@ -12,15 +12,15 @@ type Config struct {
|
||||
|
||||
Service Service `yaml:"-"`
|
||||
|
||||
Tracing *Tracing `yaml:"tracing,omitempty"`
|
||||
Log *Log `yaml:"log,omitempty"`
|
||||
Debug Debug `yaml:"debug,omitempty"`
|
||||
Tracing *Tracing `yaml:"tracing"`
|
||||
Log *Log `yaml:"log"`
|
||||
Debug Debug `yaml:"debug"`
|
||||
|
||||
HTTP HTTP `yaml:"http,omitempty"`
|
||||
HTTP HTTP `yaml:"http"`
|
||||
|
||||
OcisPublicURL string `yaml:"ocis_public_url,omitempty" env:"OCIS_URL;OCIS_PUBLIC_URL"`
|
||||
WebdavNamespace string `yaml:"webdav_namespace,omitempty" env:"STORAGE_WEBDAV_NAMESPACE"` //TODO: prevent this cross config
|
||||
RevaGateway string `yaml:"reva_gateway,omitempty" env:"REVA_GATEWAY"`
|
||||
OcisPublicURL string `yaml:"ocis_public_url" env:"OCIS_URL;OCIS_PUBLIC_URL"`
|
||||
WebdavNamespace string `yaml:"webdav_namespace" env:"STORAGE_WEBDAV_NAMESPACE"` //TODO: prevent this cross config
|
||||
RevaGateway string `yaml:"reva_gateway" env:"REVA_GATEWAY"`
|
||||
|
||||
Context context.Context `yaml:"-,omitempty"`
|
||||
Context context.Context `yaml:"-"`
|
||||
}
|
||||
Reference in new issue
Block a user