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:
Marcus Efraimsson authored and GitHub committed 2024-01-23 12:36:22 +01:00
1 parent 147bf01745
commit 6768c6c059
131 files changed
+759 -699

No files matched your search

-1
View File
@@ -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) {