Skip to content

Commit 45419f5

Browse files
committed
[cli] Renames ret_output flag to return_output
1 parent 640c517 commit 45419f5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

internal/cli/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func Init() {
124124
invokeCmd.Flags().StringSliceVarP(&params, "param", "p", nil, "Function parameter: <name>:<value>")
125125
invokeCmd.Flags().StringVarP(&paramsFile, "params_file", "j", "", "File containing parameters (JSON)")
126126
invokeCmd.Flags().BoolVarP(&asyncInvocation, "async", "a", false, "Asynchronous invocation")
127-
invokeCmd.Flags().BoolVarP(&returnOutput, "ret_output", "o", false, "Capture function output (if supported by used runtime)")
127+
invokeCmd.Flags().BoolVarP(&returnOutput, "return_output", "o", false, "Capture function output (if supported by used runtime)")
128128

129129
rootCmd.AddCommand(createCmd)
130130
createCmd.Flags().BoolVarP(&update, "update", "u", false, "Overwrite any function with the same name")

internal/workflow/remote_offloading_policy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,13 @@ func prepareParameters(r *Request, p *Progress) *remotePolicyParams {
276276
}
277277

278278
// Bandwidth (we assume identical)
279-
dsBandwidth := config.GetFloat(config.WORKFLOW_OFFLOADING_POLICY_NODE_TO_DATA_STORE_BANDWIDTH, 100.0)
279+
dsBandwidth := config.GetFloat(config.WORKFLOW_OFFLOADING_POLICY_NODE_TO_DATA_STORE_BANDWIDTH, 40.0)
280280
for _, n := range params.EdgeNodes {
281281
params.DSBandwidth[n] = dsBandwidth
282282
}
283283

284284
if len(params.CloudNodes) > 0 {
285-
params.DSBandwidth[CLOUD] = config.GetFloat(config.WORKFLOW_OFFLOADING_POLICY_CLOUD_TO_DATA_STORE_BANDWIDTH, dsBandwidth*10)
285+
params.DSBandwidth[CLOUD] = config.GetFloat(config.WORKFLOW_OFFLOADING_POLICY_CLOUD_TO_DATA_STORE_BANDWIDTH, 1000)
286286
}
287287

288288
// Execution Times

0 commit comments

Comments
 (0)