Chore: Deprecate direct access to Cfg (#111442)

Deprecate direct access to Cfg
This commit is contained in:
Sofia Papagiannaki
2025-09-29 13:48:23 +03:00
committed by GitHub
parent 83965fe414
commit 34b662c3e1
+2
View File
@@ -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