Skip to content

Commit 5fbed1e

Browse files
committed
Fix syntax errors
1 parent d171ed7 commit 5fbed1e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

testing/integration/k8s/kubernetes_agent_standalone_test.go

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -768,26 +768,27 @@ func TestKubernetesAgentHelm(t *testing.T) {
768768
"outputs": map[string]any{
769769
"default": map[string]any{
770770
"type": "Logstash",
771-
"hosts": ["logstash-agent:5044"],
771+
"hosts": [1]string{"logstash-agent:5044"},
772772
"ssl": map[string]any{
773-
"certificateAuthorities": [{
773+
"certificateAuthorities": []map[string]any{{
774774
"valueFromSecret": map[string]any{
775775
"name": "agent-certs",
776776
"key": "ca.crt",
777777
},
778-
}],
779-
"certificate": {
778+
}},
779+
"certificate": map[string]any{
780780
"valueFromSecret": map[string]any{
781781
"name": "agent-certs",
782782
"key": "tls.crt",
783+
},
783784
},
784-
"key": {
785+
"key": map[string]any{
785786
"valueFromSecret": map[string]any{
786787
"name": "agent-certs",
787788
"key": "tls.key",
788789
},
789790
},
790-
"verificationMode": "certificate"
791+
"verificationMode": "certificate",
791792
},
792793
},
793794
},

0 commit comments

Comments
 (0)