use yaml tag instead of ocisConfig

This commit is contained in:
Willy Kloucek
2022-03-28 18:31:31 +02:00
parent 58b3bdf570
commit e224ce03cf
84 changed files with 851 additions and 851 deletions
+4 -4
View File
@@ -2,8 +2,8 @@ package config
// Debug defines the available debug configuration.
type Debug struct {
Addr string `ocisConfig:"addr" env:"SETTINGS_DEBUG_ADDR"`
Token string `ocisConfig:"token" env:"SETTINGS_DEBUG_TOKEN"`
Pprof bool `ocisConfig:"pprof" env:"SETTINGS_DEBUG_PPROF"`
Zpages bool `ocisConfig:"zpages" env:"SETTINGS_DEBUG_ZPAGES"`
Addr string `yaml:"addr" env:"SETTINGS_DEBUG_ADDR"`
Token string `yaml:"token" env:"SETTINGS_DEBUG_TOKEN"`
Pprof bool `yaml:"pprof" env:"SETTINGS_DEBUG_PPROF"`
Zpages bool `yaml:"zpages" env:"SETTINGS_DEBUG_ZPAGES"`
}