From 24d8b59609a2580552fa97929d77745a6ef098c9 Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Wed, 20 Oct 2021 17:12:21 +0200 Subject: [PATCH] Fix config test --- allocator/balanced/config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allocator/balanced/config_test.go b/allocator/balanced/config_test.go index 4728360d..d8c092da 100644 --- a/allocator/balanced/config_test.go +++ b/allocator/balanced/config_test.go @@ -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()