File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public void InitializeBindings(IList<ParameterBinding> inputData)
70
70
}
71
71
else if ( _durableFunctionInfo . IsOrchestrationFunction )
72
72
{
73
- try
73
+ /* try
74
74
{
75
75
_orchestrationBindingInfo = CreateOrchestrationBindingInfo(inputData);
76
76
var context = inputData[0];
@@ -86,10 +86,10 @@ public void InitializeBindings(IList<ParameterBinding> inputData)
86
86
_powerShellServices.SetOrchestrationContext(_orchestrationBindingInfo.Context);
87
87
}
88
88
catch
89
- {
89
+ {*/
90
90
_orchestrationBindingInfo = CreateOrchestrationBindingInfo ( inputData ) ;
91
91
_powerShellServices . SetOrchestrationContext ( _orchestrationBindingInfo . Context ) ;
92
- }
92
+ // }
93
93
94
94
}
95
95
}
Original file line number Diff line number Diff line change @@ -229,12 +229,12 @@ public Hashtable InvokeFunction(
229
229
}
230
230
else
231
231
{
232
- var addPipelineOutput = functionInfo . DurableFunctionInfo . Type ! = DurableFunctionType . ActivityFunction ;
233
- if ( addPipelineOutput )
232
+ var isActivityFunction = functionInfo . DurableFunctionInfo . Type = = DurableFunctionType . ActivityFunction ;
233
+ if ( ! isActivityFunction )
234
234
{
235
235
_pwsh . AddCommand ( "Microsoft.Azure.Functions.PowerShellWorker\\ Trace-PipelineObject" ) ;
236
236
}
237
- return ExecuteUserCode ( addPipelineOutput , outputBindings ) ;
237
+ return ExecuteUserCode ( isActivityFunction , outputBindings ) ;
238
238
}
239
239
240
240
}
@@ -280,13 +280,6 @@ private void SetInputBindingParameterValues(
280
280
var valueToUse = Utils . TransformInBindingValueAsNeeded ( paramInfo , bindingInfo , binding . Data . ToObject ( ) ) ;
281
281
_pwsh . AddParameter ( binding . Name , valueToUse ) ;
282
282
}
283
- else
284
- {
285
- // move this further down in the worker
286
- // _pwsh.AddParameter(binding.Name, valueToUse);
287
-
288
- }
289
-
290
283
}
291
284
}
292
285
You can’t perform that action at this time.
0 commit comments