Chore: Deprecate direct access to Cfg (#111442)
Deprecate direct access to Cfg
This commit is contained in:
@@ -78,6 +78,8 @@ var (
|
||||
)
|
||||
|
||||
// TODO move all global vars to this struct
|
||||
// Deprecated: Direct access to Cfg will be disallowed in a future release.
|
||||
// Use the ConfigProvider interface (see pkg/configprovider/configprovider.go) instead.
|
||||
type Cfg struct {
|
||||
Target []string
|
||||
Raw *ini.File
|
||||
|
||||
Reference in New Issue
Block a user