Skip to content

Commit 953c4a2

Browse files
authored
use non-deprecated flags in List operation (#1478)
Signed-off-by: yaron2 <[email protected]>
1 parent c3f0fb2 commit 953c4a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/standalone/list.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ func List() ([]ListOutput, error) {
105105
enableMetrics = true
106106
}
107107

108-
maxRequestBodySize := getIntArg(argumentsMap, "--dapr-http-max-request-size", runtime.DefaultMaxRequestBodySize)
108+
maxRequestBodySize := getIntArg(argumentsMap, "http-max-request-size", runtime.DefaultMaxRequestBodySize)
109109

110-
httpReadBufferSize := getIntArg(argumentsMap, "--dapr-http-read-buffer-size", runtime.DefaultReadBufferSize)
110+
httpReadBufferSize := getIntArg(argumentsMap, "http-read-buffer-size", runtime.DefaultReadBufferSize)
111111

112112
appID := argumentsMap["--app-id"]
113113
appCmd := ""

0 commit comments

Comments
 (0)