File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed
Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -1035,9 +1035,6 @@ func (c *APIConfig) Validate(onExecution bool) error {
10351035 if c .StreamTLSKey == "" {
10361036 return errors .New ("stream TLS key path is empty" )
10371037 }
1038- if c .StreamTLSCA == "" {
1039- return errors .New ("stream TLS CA path is empty" )
1040- }
10411038 }
10421039
10431040 if onExecution {
Original file line number Diff line number Diff line change @@ -232,21 +232,6 @@ var _ = t.Describe("Config", func() {
232232 // Then
233233 Expect (err ).To (HaveOccurred ())
234234 })
235-
236- It ("should fail if stream server TLS enabled and CA is empty" , func () {
237- // Given
238- sut = runtimeValidConfig ()
239- sut .StreamEnableTLS = true
240- sut .StreamTLSCert = "cert"
241- sut .StreamTLSKey = "key"
242- sut .StreamTLSCA = ""
243-
244- // When
245- err := sut .APIConfig .Validate (false )
246-
247- // Then
248- Expect (err ).To (HaveOccurred ())
249- })
250235 })
251236
252237 t .Describe ("ValidateRuntimeConfig" , func () {
You can’t perform that action at this time.
0 commit comments