File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ package runtime
17
17
import (
18
18
"context"
19
19
"crypto/rand"
20
- "crypto/x509"
21
20
"encoding/hex"
22
21
"encoding/json"
23
22
"errors"
@@ -92,6 +91,7 @@ import (
92
91
runtimePubsub "github.com/dapr/dapr/pkg/runtime/pubsub"
93
92
"github.com/dapr/dapr/pkg/runtime/registry"
94
93
daprt "github.com/dapr/dapr/pkg/testing"
94
+ "github.com/dapr/kit/crypto/spiffe"
95
95
"github.com/dapr/kit/logger"
96
96
"github.com/dapr/kit/ptr"
97
97
)
@@ -2178,8 +2178,8 @@ func testSecurity(t *testing.T) security.Handler {
2178
2178
ControlPlaneTrustDomain : "test.example.com" ,
2179
2179
ControlPlaneNamespace : "default" ,
2180
2180
MTLSEnabled : false ,
2181
- OverrideCertRequestFn : func (context.Context , []byte ) ([] * x509. Certificate , error ) {
2182
- return [] * x509. Certificate { nil } , nil
2181
+ OverrideCertRequestFn : func (context.Context , []byte ) (* spiffe. SVIDResponse , error ) {
2182
+ return nil , nil
2183
2183
},
2184
2184
Healthz : healthz .New (),
2185
2185
})
You can’t perform that action at this time.
0 commit comments