diff --git a/pkg/setting/setting.go b/pkg/setting/setting.go index d91a9c82a22..50cecb688bb 100644 --- a/pkg/setting/setting.go +++ b/pkg/setting/setting.go @@ -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