chore: Fix typo in "tcp" (#8842)

pull/8830/head
René Scheibe 3 years ago committed by GitHub
parent d08b87f799
commit 3bed7eef55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      clients/pkg/promtail/targets/syslog/syslogtarget_test.go

@ -361,8 +361,8 @@ func TestSyslogTarget(t *testing.T) {
protocol string
fmtFunc formatFunc
}{
{"tpc newline separated", protocolTCP, fmtNewline},
{"tpc octetcounting", protocolTCP, fmtOctetCounting},
{"tcp newline separated", protocolTCP, fmtNewline},
{"tcp octetcounting", protocolTCP, fmtOctetCounting},
{"udp newline separated", protocolUDP, fmtNewline},
{"udp octetcounting", protocolUDP, fmtOctetCounting},
} {
@ -478,8 +478,8 @@ func TestSyslogTarget_RFC5424Messages(t *testing.T) {
protocol string
fmtFunc formatFunc
}{
{"tpc newline separated", protocolTCP, fmtNewline},
{"tpc octetcounting", protocolTCP, fmtOctetCounting},
{"tcp newline separated", protocolTCP, fmtNewline},
{"tcp octetcounting", protocolTCP, fmtOctetCounting},
} {
tt := tt
t.Run(tt.name, func(t *testing.T) {

Loading…
Cancel
Save