Skip to content

Commit 4d1f6d5

Browse files
authored
Merge pull request Azure#11993 from Azure/fix-conversion-issue
minor fix conversion issue in tool
2 parents 7b59c18 + 1b96fc6 commit 4d1f6d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/Create-Azure-Sentinel-Solution/common/createCCPConnector.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ function CreateRestApiPollerResourceProperties($armResource, $templateContentCon
942942
$headerPropName = $headerProps.Name
943943
$headerPropValue = $headerProps.Value
944944

945-
if ($headerPropValue.contains("{{"))
945+
if ($headerPropValue.ToString().contains("{{"))
946946
{
947947
$placeHoldersMatched = $headerPropValue | Select-String $placeHolderPatternMatches -AllMatches
948948
if ($placeHoldersMatched.Matches.Value.Count -gt 0)

0 commit comments

Comments
 (0)