Skip to content

Commit 251c596

Browse files
committed
Fix error message
1 parent 0f429f5 commit 251c596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kafka-proxy/server_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func TestSameClientCertEnabledWithRequiredFlags(t *testing.T) {
175175

176176
func TestSameClientCertEnabledWithMissingFlags(t *testing.T) {
177177

178-
expectedErrorMsg := "SameClientCertEnable requires TLS to be enabled on both proxy and kafka connections and client cert file on kafka connection"
178+
expectedErrorMsg := "ClientCertFile is required on Kafka TLS and TLS must be enabled on both Proxy and Kafka connections when SameClientCertEnable is enabled"
179179

180180
disabledProxyTLS := []string{"cobra.test",
181181
"--bootstrap-server-mapping", "192.168.99.100:32401,0.0.0.0:32401",

0 commit comments

Comments
 (0)