Skip to content

Commit 5d3d967

Browse files
committed
Tweaks per PR
1 parent f9ee2fa commit 5d3d967

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/certification/embedded/embedded.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ import (
1616
)
1717

1818
const (
19-
appID = "kafka-test"
20-
placementAddresses = "localhost"
19+
placementAddresses = "127.0.0.1"
2120
controlPlaneAddress = ""
2221
allowedOrigins = cors.DefaultAllowedOrigins
2322
mode = modes.StandaloneMode
@@ -82,8 +81,8 @@ func NewRuntime(appID string, opts ...Option) (*runtime.DaprRuntime, error) {
8281
enableProfiling, maxConcurrency, enableMTLS, sentryAddress, appSSL, maxRequestBodySize, "",
8382
runtime.DefaultReadBufferSize, false)
8483

85-
for _, o := range opts {
86-
o(runtimeConfig)
84+
for _, opt := range opts {
85+
opt(runtimeConfig)
8786
}
8887

8988
variables := map[string]string{

0 commit comments

Comments
 (0)