Skip to content

Commit

Permalink
Param checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpaulandrew committed Jan 3, 2024
1 parent be0fe2c commit 723863b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/azure.functionapp/services/AzureDataFactoryService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public override PipelineRunStatus PipelineExecute(PipelineRequest request)

_logger.LogInformation($"Adding parameter key: {key} value: {request.PipelineParameters[key]} to pipeline call.");

adfParameters.Add(key, BinaryData.FromString('"' + request.PipelineParameters[key] + '"')); //adding " marks feels like a hack, but because parameters are passed from JSON call to a JSON call via a dictionary seems to be needed in Binary Data convert!
adfParameters.Add(key, BinaryData.FromString('"' + request.PipelineParameters[key] + '"')); //adding " marks feels like a hack, but because parameters are passed from JSON call to a JSON call via a dictionary seems to be needed in BinaryData.FromString conversion!
}

pipelineRunResult = dataFactoryPipeline.CreateRun(parameterValueSpecification: adfParameters);
Expand Down

0 comments on commit 723863b

Please sign in to comment.