use yaml tag instead of ocisConfig
This commit is contained in:
@@ -2,8 +2,8 @@ package config
|
||||
|
||||
// Debug defines the available debug configuration.
|
||||
type Debug struct {
|
||||
Addr string `ocisConfig:"addr" env:"WEBDAV_DEBUG_ADDR"`
|
||||
Token string `ocisConfig:"token" env:"WEBDAV_DEBUG_TOKEN"`
|
||||
Pprof bool `ocisConfig:"pprof" env:"WEBDAV_DEBUG_PPROF"`
|
||||
Zpages bool `ocisConfig:"zpages" env:"WEBDAV_DEBUG_ZPAGES"`
|
||||
Addr string `yaml:"addr" env:"WEBDAV_DEBUG_ADDR"`
|
||||
Token string `yaml:"token" env:"WEBDAV_DEBUG_TOKEN"`
|
||||
Pprof bool `yaml:"pprof" env:"WEBDAV_DEBUG_PPROF"`
|
||||
Zpages bool `yaml:"zpages" env:"WEBDAV_DEBUG_ZPAGES"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user