Fix config test

This commit is contained in:
Hector Sanjuan 2021-10-20 17:12:21 +02:00
parent 3f895df8cf
commit 24d8b59609

View File

@ -51,7 +51,7 @@ func TestDefault(t *testing.T) {
}
func TestApplyEnvVars(t *testing.T) {
os.Setenv("CLUSTER_METRICSALLOC_ALLOCATEBY", "a,b,c")
os.Setenv("CLUSTER_BALANCED_ALLOCATEBY", "a,b,c")
cfg := &Config{}
cfg.ApplyEnvVars()