@@ -335,7 +335,6 @@ func TestAgentConfigYamlOnly(t *testing.T) {
335335 err := yaml .Unmarshal ([]byte (strings .Join ([]string {
336336 "sts_url: 'https://stackstate.com'" ,
337337 "api_key: apikey_20" ,
338- "process_agent_enabled: true" ,
339338 "process_config:" ,
340339 " enabled: 'true'" ,
341340 " queue_size: 10" ,
@@ -366,7 +365,6 @@ func TestAgentConfigYamlOnly(t *testing.T) {
366365 err = yaml .Unmarshal ([]byte (strings .Join ([]string {
367366 "sts_url: 'https://stackstate.com'" ,
368367 "api_key: apikey_20" ,
369- "process_agent_enabled: true" ,
370368 "incremental_publishing_enabled: false" ,
371369 "incremental_publishing_refresh_interval: 120" ,
372370 "process_config:" ,
@@ -396,7 +394,6 @@ func TestAgentConfigYamlOnly(t *testing.T) {
396394 err = yaml .Unmarshal ([]byte (strings .Join ([]string {
397395 "sts_url: 'https://stackstate.com'" ,
398396 "api_key: apikey_20" ,
399- "process_agent_enabled: true" ,
400397 "process_config:" ,
401398 " enabled: 'disabled'" ,
402399 " queue_size: 10" ,
@@ -418,7 +415,6 @@ func TestAgentConfigYamlOnly(t *testing.T) {
418415 err = yaml .Unmarshal ([]byte (strings .Join ([]string {
419416 "sts_url: 'https://stackstate.com'" ,
420417 "api_key: apikey_20" ,
421- "process_agent_enabled: true" ,
422418 "process_config:" ,
423419 " enabled: 'disabled'" ,
424420 " additional_endpoints:" ,
@@ -450,7 +446,6 @@ func TestAgentConfigYamlOnly(t *testing.T) {
450446 err = yaml .Unmarshal ([]byte (strings .Join ([]string {
451447 "sts_url: 'https://stackstate.com'" ,
452448 "api_key: apikey_20" ,
453- "process_agent_enabled: true" ,
454449 "site: " + site ,
455450 "process_config:" ,
456451 " enabled: 'true'" ,
@@ -468,7 +463,6 @@ func TestAgentConfigYamlOnly(t *testing.T) {
468463 err = yaml .Unmarshal ([]byte (strings .Join ([]string {
469464 "sts_url: 'https://stackstate.com'" ,
470465 "api_key: apikey_20" ,
471- "process_agent_enabled: true" ,
472466 "site: " + site ,
473467 "process_config:" ,
474468 " enabled: 'true'" ,
@@ -489,7 +483,6 @@ func TestStackStateNetworkConfigFromMainAgentConfig(t *testing.T) {
489483 err := yaml .Unmarshal ([]byte (strings .Join ([]string {
490484 "sts_url: 'https://stackstate.com'" ,
491485 "api_key: apikey_20" ,
492- "process_agent_enabled: true" ,
493486 "process_config:" ,
494487 " enabled: 'true'" ,
495488 " queue_size: 10" ,
@@ -720,7 +713,6 @@ func TestStackStateFallbackAgentConfigToSTSUrl(t *testing.T) {
720713 err := yaml .Unmarshal ([]byte (strings .Join ([]string {
721714 "api_key: apikey_30" ,
722715 "sts_url: http://default-endpoint.test.stackstate.com" ,
723- "process_agent_enabled: true" ,
724716 "process_config:" ,
725717 " enabled: 'true'" ,
726718 " queue_size: 10" ,
@@ -749,7 +741,6 @@ func TestStackStateFallbackAgentConfigToEnvSTSUrl(t *testing.T) {
749741 var ddy YamlAgentConfig
750742 err := yaml .Unmarshal ([]byte (strings .Join ([]string {
751743 "api_key: apikey_30" ,
752- "process_agent_enabled: true" ,
753744 "process_config:" ,
754745 " enabled: 'true'" ,
755746 " queue_size: 10" ,
@@ -778,7 +769,6 @@ func TestStackStateFallbackAgentConfigEmptyUrlToEnvSTSUrl(t *testing.T) {
778769 var ddy YamlAgentConfig
779770 err := yaml .Unmarshal ([]byte (strings .Join ([]string {
780771 "api_key: apikey_30" ,
781- "process_agent_enabled: true" ,
782772 "process_config:" ,
783773 " enabled: 'true'" ,
784774 " queue_size: 10" ,
@@ -809,7 +799,6 @@ func TestStackStatePreferAgentConfigToEnvPROCESS_AGENT_URL(t *testing.T) {
809799 var ddy YamlAgentConfig
810800 err := yaml .Unmarshal ([]byte (strings .Join ([]string {
811801 "api_key: apikey_30" ,
812- "process_agent_enabled: true" ,
813802 "process_config:" ,
814803 " enabled: 'true'" ,
815804 " queue_size: 10" ,
@@ -839,7 +828,6 @@ func TestStackStatePreferSTS_STS_URLOverYamlProcessAgentConfig(t *testing.T) {
839828 var ddy YamlAgentConfig
840829 err := yaml .Unmarshal ([]byte (strings .Join ([]string {
841830 "api_key: apikey_30" ,
842- "process_agent_enabled: true" ,
843831 "process_config:" ,
844832 " enabled: 'true'" ,
845833 " queue_size: 10" ,
@@ -870,7 +858,6 @@ func TestStackStatePreferPROCESS_AGENT_URLOverYamlsts_sts_url(t *testing.T) {
870858 err := yaml .Unmarshal ([]byte (strings .Join ([]string {
871859 "api_key: apikey_30" ,
872860 "sts_url: http://default-endpoint.test.stackstate.com" ,
873- "process_agent_enabled: true" ,
874861 "process_config:" ,
875862 " enabled: 'true'" ,
876863 " queue_size: 10" ,
0 commit comments