mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 18:02:18 +08:00
Chore: Remove public vars in setting package (#81018)
Removes the public variable setting.SecretKey plus some other ones. Introduces some new functions for creating setting.Cfg.
This commit is contained in:

committed by
GitHub

parent
147bf01745
commit
6768c6c059
@ -28,7 +28,6 @@ import (
|
||||
)
|
||||
|
||||
func TestPluginProxy(t *testing.T) {
|
||||
setting.SecretKey = "password"
|
||||
secretsService := secretsManager.SetupTestService(t, fakes.NewFakeSecretsStore())
|
||||
|
||||
t.Run("When getting proxy headers", func(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user