Skip to content

Commit

Permalink
Fix nil Security on runtime config
Browse files Browse the repository at this point in the history
Signed-off-by: joshvanl <[email protected]>
  • Loading branch information
JoshVanL committed Sep 18, 2024
1 parent 52a0147 commit acad27c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/certification/embedded/embedded.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import (
"github.com/dapr/dapr/pkg/modes"
"github.com/dapr/dapr/pkg/runtime"
"github.com/dapr/dapr/pkg/runtime/registry"
"github.com/dapr/dapr/pkg/security/fake"
"github.com/dapr/kit/logger"
"github.com/dapr/kit/ptr"
"github.com/phayes/freeport"
Expand Down Expand Up @@ -204,6 +205,7 @@ func NewRuntime(ctx context.Context, appID string, opts ...Option) (*runtime.Dap
Registry: registry.NewOptions(),
Config: []string{"config.yaml"},
Metrics: metricsOpts,
Security: fake.New(),
}

for _, opt := range opts {
Expand Down

0 comments on commit acad27c

Please sign in to comment.