Skip to content

Commit c4d9449

Browse files
authored
Update syslog_drain.go (#1691)
Use the TCP domain config helper to support users who override the default value.
1 parent 5c037aa commit c4d9449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app_syslog_tcp/syslog_drain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var _ = AppSyslogTcpDescribe("Syslog Drain over TCP", func() {
3535
Describe("Syslog drains", func() {
3636
BeforeEach(func() {
3737
interrupt = make(chan struct{}, 1)
38-
domainName = fmt.Sprintf("tcp.%s", Config.GetAppsDomain())
38+
domainName = Config.GetTCPDomain()
3939
workflowhelpers.AsUser(TestSetup.AdminUserContext(), Config.DefaultTimeoutDuration(), func() {
4040
routerGroupOutput := string(cf.Cf("router-groups").Wait().Out.Contents())
4141
Expect(routerGroupOutput).To(

0 commit comments

Comments
 (0)