Fix config test
This commit is contained in:
parent
3f895df8cf
commit
24d8b59609
|
@ -51,7 +51,7 @@ func TestDefault(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestApplyEnvVars(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 := &Config{}
|
||||||
cfg.ApplyEnvVars()
|
cfg.ApplyEnvVars()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user