remove all "omitempty" from config structs to bring back full configuration file documentation

This commit is contained in:
Willy Kloucek committed 2022-04-28 15:08:40 +02:00
1 parent aba2ee0c39
commit ab254b05d0
31 files changed
+802 -802

No files matched your search

+8 -8
View File
@@ -12,17 +12,17 @@ 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"`
Ldap Ldap `yaml:"ldap,omitempty"`
Ldaps Ldaps `yaml:"ldaps,omitempty"`
Ldap Ldap `yaml:"ldap"`
Ldaps Ldaps `yaml:"ldaps"`
Backend Backend `yaml:"backend,omitempty"`
Fallback FallbackBackend `yaml:"fallback,omitempty"`
Backend Backend `yaml:"backend"`
Fallback FallbackBackend `yaml:"fallback"`
RoleBundleUUID string `yaml:"role_bundle_uuid,omitempty" env:"GLAUTH_ROLE_BUNDLE_ID"`
RoleBundleUUID string `yaml:"role_bundle_uuid" env:"GLAUTH_ROLE_BUNDLE_ID"`
Context context.Context `yaml:"-"`
}