Skip to content

Commit 7efd8f3

Browse files
committed
Update Invoke-ExecOffloadFunctions.ps1
1 parent 2a27787 commit 7efd8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Settings/Invoke-ExecOffloadFunctions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Function Invoke-ExecOffloadFunctions {
3838
foreach ($Offload in $OffloadVersions) {
3939
$FunctionName = $Offload.RowKey
4040
if ($OffloadVersion -ne $MainVersion.Version) {
41-
$
41+
$CanEnable = $false
4242
$Alerts.Add("The version of $FunctionName ($($Offload.Version)) does not match the current version of $($MainVersion.Version).")
4343
}
4444
}

0 commit comments

Comments
 (0)