Skip to content

Commit

Permalink
Fix test case failures
Browse files Browse the repository at this point in the history
  • Loading branch information
sgayangi committed Jan 2, 2024
1 parent 9e7cb01 commit 4ba93fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter/internal/operator/synchronizer/synchronizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func GenerateAdapterInternalAPI(apiState APIState, httpRoute *HTTPRouteState, en
adapterInternalAPI.SetMutualSSL(apiState.MutualSSL.Required)
adapterInternalAPI.SetClientCerts(apiState.APIDefinition.Name, apiState.MutualSSL.ClientCertificates)
}
if adapterInternalAPI.IsSystemAPI || apiState.MutualSSL == nil {
if adapterInternalAPI.IsSystemAPI || apiState.MutualSSL == nil || apiState.MutualSSL.Required == "" {
adapterInternalAPI.SetDisableMtls(true)
}

Expand Down

0 comments on commit 4ba93fd

Please sign in to comment.