Skip to content

Commit

Permalink
windows: pass ExceptUpgradeService param to stop-calico.ps1 as well (#…
Browse files Browse the repository at this point in the history
…1372)

When stop-calico.ps1 is called from uninstall.ps1 we have to also pass
in the ExceptUpgradeService param to stop-calico.ps1
Otherwise the calico-upgrade service is stopped.
  • Loading branch information
lmm authored Dec 1, 2021
1 parent 599acdf commit cf1216b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windows-packaging/CalicoWindows/uninstall-calico.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Test-CalicoConfiguration
$ErrorActionPreference = 'SilentlyContinue'

Write-Host "Stopping Calico if it is running..."
& $PSScriptRoot\stop-calico.ps1
& $PSScriptRoot\stop-calico.ps1 -ExceptUpgradeService $ExceptUpgradeService

if ($env:CALICO_NETWORKING_BACKEND -EQ "windows-bgp")
{
Expand Down

0 comments on commit cf1216b

Please sign in to comment.