diff --git a/proxy/pkg/config/config_test.go b/proxy/pkg/config/config_test.go index 3e5ab34..74eaa55 100644 --- a/proxy/pkg/config/config_test.go +++ b/proxy/pkg/config/config_test.go @@ -107,7 +107,9 @@ func TestTargetConfig_ParsingControlConnMaxProtocolVersion(t *testing.T) { // test-specific setup setTargetContactPointsAndPortEnvVars() - conf := New().parseEnvVars() + conf := New() + err := conf.parseEnvVars() + require.Nil(t, err) tests := []struct { name string